Problem addition
User AdwinLau
Submission Time 2024-03-27 17:29:24
Score 0
Max Time N/A
Max Memory N/A

Compile Error

addition.cpp: In function ‘int main()’:
addition.cpp:6:2: error: ‘a’ was not declared in this scope
6 | a = 0; b = 0;
| ^
addition.cpp:6:9: error: ‘b’ was not declared in this scope
6 | a = 0; b = 0;
| ^
addition.cpp:9:12: error: expected ‘}’ at end of input
9 | cout << a+b
| ^
addition.cpp:5:11: note: to match this ‘{’
5 | int main(){
| ^