Problem exam
User amanda
Submission Time 2024-07-15 17:10:59
Score 0
Max Time N/A
Max Memory N/A

Compile Error

exam.cpp: In function ‘int main()’:
exam.cpp:4:12: error: expected initializer before ‘>>’ token
4 | int x,A,B >> cin
| ^~
exam.cpp:8:2: error: ‘else’ without a previous ‘if’
8 | else if (x==2){
| ^~~~
exam.cpp:9:13: error: ‘B’ was not declared in this scope
9 | cout << A*B;
| ^