Problem exam
User TngShihAn
Submission Time 2023-11-08 10:06:45
Score 0
Max Time N/A
Max Memory N/A

Compile Error

exam.cpp: In function ‘int main()’:
exam.cpp:7:5: error: expected ‘(’ before ‘x’
7 | if x==1
| ^
| (
exam.cpp:9:5: error: expected ‘(’ before ‘x’
9 | if x==2
| ^
| (
exam.cpp:11:8: error: ‘A’ was not declared in this scope
11 | cin >>A>>B;
| ^
exam.cpp:11:11: error: ‘B’ was not declared in this scope
11 | cin >>A>>B;
| ^