Problem | exam |
---|---|
User | Adam |
Submission Time | 2024-06-18 11:28:25 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
exam.cpp: In function ‘int main()’:
exam.cpp:7:36: error: expected ‘)’ before ‘;’ token
7 | cout <<"Hello World" << std::endl;
| ^
| )
exam.cpp:6:12: note: to match this ‘(’
6 | if(x >= 1)(
| ^
exam.cpp:8:2: error: expected primary-expression before ‘)’ token
8 | )
| ^
exam.cpp:12:14: error: ‘b’ was not declared in this scope
12 | cout << (a+b) << '\n'; //9
| ^
exam.cpp:14:2: error: expected primary-expression before ‘)’ token
14 | )
| ^