24th Jun 2018, 11:45 PM
El-Law lite -
El-Law lite - - avatar
5 ответов
+ 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;
24th Jun 2018, 11:51 PM
Tamra
Tamra - avatar
+ 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
25th Jun 2018, 12:18 AM
Solo
Solo - avatar
+ 3
At last, the int main() function must also return a value!
25th Jun 2018, 3:22 AM
Naveen Maurya
Naveen Maurya - avatar
0
line 8: remove " before endl; line 9: put return 0; before }
25th Jun 2018, 12:15 PM
Hafiz Azmin