Problem exam
User GWC2724
Submission Time 2023-11-14 10:20:40
Score 0
Max Time N/A
Max Memory N/A

Compile Error

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