Problem exam
User ov5rki11
Submission Time 2025-06-16 14:22:51
Score 0
Max Time N/A
Max Memory N/A

Compile Error

exam.cpp: In function ‘int main()’:
exam.cpp:5:16: error: expected ‘;’ before ‘if’
5 | ;;;;cin >> exam
| ^
| ;
6 | if(exam == 1){
| ~~
exam.cpp:8:3: error: ‘else’ without a previous ‘if’
8 | }else{
| ^~~~
exam.cpp:11:18: error: expected ‘;’ before ‘}’ token
11 | ;;;;cout << (a*b)
| ^
| ;
12 | }
| ~