Problem exam
User SMILE
Submission Time 2024-04-13 09:51:54
Score 0
Max Time N/A
Max Memory N/A

Compile Error

exam.cpp: In function ‘int main()’:
exam.cpp:6:9: error: expected ‘;’ before ‘cin’
6 | 1<=x<=2
| ^
| ;
7 | cin>>x;
| ~~~
exam.cpp:10:13: error: expected ‘;’ before ‘{’ token
10 | }else(x==2){
| ^
| ;