- 1
Че за ошибка? Все же правильно!
#include <iostream> using namespace std; int main () { int n=67; if (n>56){ cout <<"da"; } else{ cout << "net"; } return = 0; }
1 Answer
+ 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: