Problem exam
User Kartikkk
Submission Time 2024-02-18 15:31:55
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 >= 0;
| ^~
exam.cpp:13:9: error: expected initializer before ‘<=’ token
13 | int A <=9;
| ^~
exam.cpp:14:9: error: expected initializer before ‘>=’ token
14 | int A >= -10^9
| ^~
exam.cpp:17:9: error: expected initializer before ‘<=’ token
17 | int B <=9;
| ^~
exam.cpp:18:9: error: expected initializer before ‘>=’ token
18 | int B >= -10^9
| ^~
exam.cpp:22:10: error: ‘B’ was not declared in this scope
22 | cin >> B;
| ^
exam.cpp:24:11: error: ‘A’ was not declared in this scope
24 | cout << A*B << endl;
| ^