Problem | exam |
---|---|
User | Abi |
Submission Time | 2024-07-15 16:40:38 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
exam.cpp: In function ‘int main()’:
exam.cpp:8:5: error: expected ‘(’ before ‘x’
8 | if x == 1;
| ^
| (
exam.cpp:10:2: error: ‘else’ without a previous ‘if’
10 | else if x == 2;
| ^~~~
exam.cpp:10:10: error: expected ‘(’ before ‘x’
10 | else if x == 2;
| ^
| (
exam.cpp:16:12: error: expected ‘;’ before ‘}’ token
16 | cout << c
| ^
| ;
......
19 | }
| ~