Problem addition
User Mirage
Submission Time 2023-01-04 15:32:02
Score 0
Max Time N/A
Max Memory N/A

Compile Error

addition.cpp: In function ‘int main()’:
addition.cpp:6:7: error: found ‘:’ in nested-name-specifier, expected ‘::’
6 | int b:
| ^
| ::
addition.cpp:6:6: error: ‘b’ has not been declared
6 | int b:
| ^
addition.cpp:7:6: error: qualified-id in declaration before ‘>>’ token
7 | cin >> a >> b;
| ^~
addition.cpp:8:12: error: ‘b’ was not declared in this scope
8 | cout << a+b;
| ^