Problem | exam |
---|---|
User | avner21 |
Submission Time | 2023-01-16 16:35:15 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
exam.cpp: In function ‘int main()’:
exam.cpp:7:11: error: expected ‘;’ before ‘if’
7 | cin >> x
| ^
| ;
8 |
9 | if (x==2) {
| ~~
exam.cpp:14:3: error: ‘else’ without a previous ‘if’
14 | else {
| ^~~~
exam.cpp:15:26: error: expected ‘;’ before ‘}’ token
15 | cout << "Hello World"
| ^
| ;
16 | }
| ~