Problem exam
User Kartikkk
Submission Time 2024-02-18 15:38:56
Score 0
Max Time N/A
Max Memory N/A

Compile Error

exam.cpp: In function ‘int main()’:
exam.cpp:12:9: error: expected initializer before ‘>=’ token
12 | int A >= -1000000000;
| ^~
exam.cpp:13:9: error: expected initializer before ‘<=’ token
13 | int A <= 1000000000;
| ^~
exam.cpp:14:9: error: expected initializer before ‘>=’ token
14 | int B >= -1000000000;
| ^~
exam.cpp:15:9: error: expected initializer before ‘<=’ token
15 | int B <= 1000000000;
| ^~
exam.cpp:17:10: error: ‘A’ was not declared in this scope
17 | cin >> A;
| ^
exam.cpp:18:10: error: ‘B’ was not declared in this scope
18 | cin >> B;
| ^
exam.cpp:24:1: error: expected ‘}’ at end of input
24 | }
| ^
exam.cpp:4:13: note: to match this ‘{’
4 | int main () {
| ^