- 1

Че за ошибка? Все же правильно!

#include <iostream> using namespace std; int main () { int n=67; if (n>56){ cout <<"da"; } else{ cout << "net"; } return = 0; }

8th Nov 2017, 1:35 PM
0x5
1 Réponse
+ 6
ERROR: ..\Playground\: In function 'int main()': ..\Playground\:12:8: error: expected primary-expression before '=' token return = 0; CHANGE: return = 0; TO: return 0; Make sure you always read and investigate the compile errors, it'll usually give you a good hint toward the issue:
8th Nov 2017, 1:42 PM
AgentSmith