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

Compile Error

exam.cpp: In function ‘int main()’:
exam.cpp:8:14: error: expected ‘;’ before ‘if’
8 | cin>>x>>A>>B
| ^
| ;
9 | if (x==1);
| ~~
exam.cpp:12:10: error: ‘AxB’ was not declared in this scope
12 | cout<<AxB;
| ^~~
exam.cpp:13:12: error: expected ‘;’ before ‘}’ token
13 | return 0
| ^
| ;
14 | }
| ~