Problem exam
User AswinSami
Submission Time 2026-06-22 15:49:31
Score 0
Max Time N/A
Max Memory N/A

Compile Error

exam.cpp: In function ‘int main()’:
exam.cpp:10:10: error: expected initializer before ‘==’ token
10 | if(int x == 1)
| ^~
exam.cpp:10:9: error: expected ‘)’ before ‘==’ token
10 | if(int x == 1)
| ~ ^~~
| )
exam.cpp:15:9: error: ‘a’ was not declared in this scope
15 | cin >> a >> b;
| ^