Problem exam
User annan
Submission Time 2023-11-09 09:32:59
Score 0
Max Time N/A
Max Memory N/A

Compile Error

exam.cpp:3:1: error: expected unqualified-id before ‘if’
3 | if (x = 1){
| ^~
exam.cpp:6:1: error: expected unqualified-id before ‘else’
6 | else if (x = 2){
| ^~~~