Problem exam
User Um
Submission Time 2023-04-28 20:33:07
Score 0
Max Time N/A
Max Memory N/A

Compile Error

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