Problem exam
User nivay210
Submission Time 2023-11-08 11:02:16
Score 0
Max Time N/A
Max Memory N/A

Compile Error

exam.cpp: In function ‘int main()’:
exam.cpp:5:5: error: ‘x’ was not declared in this scope
5 | if (x = 1){
| ^
exam.cpp:8:5: error: ‘x’ was not declared in this scope
8 | if (x = 2){
| ^
exam.cpp:9:10: error: expected primary-expression before ‘int’
9 | cout << int a, b;
| ^~~