0
Please fix this
Guys check this and how to fix it? {ima newb} #include <iostream> using namespace std; /* run this program usig the console pauser or add your own getch, system("pause") or input loop */ int main() { int first,nothing int value cout << "Please,enter your number.\n"; cin >> first; cout << "Please,enter another number.\n"; cin >> nothing; value = first + nothing; cout <<"The answer is" << value; << endl; return 0; }
2 Answers
+ 4
first two lines: ; missing.
second last line: ; after value has to go.
+ 1
Atleast you seem to lack 2 semicolons.