Problem exam
User ZiErn
Submission Time 2023-11-08 10:48:36
Score 0
Max Time N/A
Max Memory N/A

Compile Error

exam.cpp: In function ‘int main()’:
exam.cpp:6:10: error: expected ‘;’ before ‘if’
6 | cin >> x
| ^
| ;
7 | if(x = 1){
| ~~
exam.cpp:10:2: error: ‘else’ without a previous ‘if’
10 | else{
| ^~~~
exam.cpp:13:12: error: expected ‘;’ before ‘x’
13 | cout << A x B;
| ^~
| ;