Problem exam
User StewartStudios
Submission Time 2025-03-26 16:31:25
Score 0
Max Time N/A
Max Memory N/A

Compile Error

exam.cpp: In function ‘int main()’:
exam.cpp:7:14: error: expected initializer before ‘int2’
7 | int n, int1 int2;
| ^~~~
exam.cpp:12:10: error: ‘int1’ was not declared in this scope; did you mean ‘int’?
12 | cin >> int1 >> int2;
| ^~~~
| int
exam.cpp:12:18: error: ‘int2’ was not declared in this scope; did you mean ‘int’?
12 | cin >> int1 >> int2;
| ^~~~
| int