Problem addition
User blob
Submission Time 2023-11-08 11:00:06
Score 0
Max Time N/A
Max Memory N/A

Compile Error

addition.cpp: In function ‘int main()’:
addition.cpp:5:6: error: redeclaration of ‘int a’
5 | int a=2 , b=3
| ^
addition.cpp:4:6: note: ‘int a’ previously declared here
4 | int a,b;
| ^
addition.cpp:5:12: error: redeclaration of ‘int b’
5 | int a=2 , b=3
| ^
addition.cpp:4:8: note: ‘int b’ previously declared here
4 | int a,b;
| ^
addition.cpp:7:10: error: ‘c’ was not declared in this scope
7 | cout << c;
| ^