Problem exam
User Abi
Submission Time 2024-07-15 16:41:22
Score 0
Max Time N/A
Max Memory N/A

Compile Error

exam.cpp: In function ‘int main()’:
exam.cpp:10:2: error: ‘else’ without a previous ‘if’
10 | else if (x = 2) ;
| ^~~~
exam.cpp:16:12: error: expected ‘;’ before ‘}’ token
16 | cout << c
| ^
| ;
......
19 | }
| ~