+ 3
Why it says error some one help!!
4 odpowiedzi
+ 9
There's an extra " in line 6, which is why it's not compiling. Also, n1 doesn't have an assigned value when you use it. I think you meant to output it in line 8.
So, change line 6 to:
cout << "Enter first number: " << endl;
+ 5
Line 8, character 32: ' " ' - double quote is superfluou, delete it.
Because of it, the compiler gives an error.
8. cout << "first number is"<<n1<<¿😕"☺?endl;
https://code.sololearn.com/cSgNzPA7cawA/?ref=app
+ 3
At last, the int main() function must also return a value!
0
line 8: remove " before endl;
line 9: put return 0; before }