Problem exam
User ryelin
Submission Time 2023-11-08 10:17:27
Score 0
Max Time N/A
Max Memory N/A

Compile Error

exam.cpp: In function ‘int main()’:
exam.cpp:5:5: error: expected ‘(’ before ‘x’
5 | if x=1;
| ^
| (
exam.cpp:7:5: error: expected ‘(’ before ‘x’
7 | if x=2;
| ^
| (
exam.cpp:9:6: error: expected ‘;’ before ‘a’
9 | cout a*b;
| ^~
| ;