Problem exam
User ryannbreaker
Submission Time 2024-02-14 18:56:20
Score 0
Max Time N/A
Max Memory N/A

Compile Error

exam.cpp: In function ‘int main()’:
exam.cpp:5:2: error: expected ‘,’ or ‘;’ before ‘int’
5 | int A = 0
| ^~~
exam.cpp:13:10: error: ‘A’ was not declared in this scope
13 | cin >> A >> B;
| ^
exam.cpp:13:15: error: ‘B’ was not declared in this scope
13 | cin >> A >> B;
| ^
exam.cpp:14:13: error: expected ‘;’ before ‘}’ token
14 | return A+B
| ^
| ;
15 | }
| ~