Problem exam
User rhea61
Submission Time 2023-11-08 13:19:16
Score 0
Max Time N/A
Max Memory N/A

Compile Error

exam.cpp: In function ‘int32_t main()’:
exam.cpp:10:2: error: expected ‘,’ or ‘;’ before ‘cin’
10 | cin >> x,A,B
| ^~~
exam.cpp:14:2: error: ‘else’ without a previous ‘if’
14 | else if (x=2) {
| ^~~~