Problem exam
User Jinseo
Submission Time 2023-05-19 08:08:48
Score 0
Max Time N/A
Max Memory N/A

Compile Error

exam.cpp: In function ‘int main()’:
exam.cpp:11:24: error: expected ‘;’ before ‘else’
11 | cout << "Hello World"
| ^
| ;
12 | else if (x == 2)
| ~~~~