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