Problem | addition |
---|---|
User | Javel17 |
Submission Time | 2024-06-18 10:36:01 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
addition.cpp: In function ‘int main()’:
addition.cpp:5:10: error: found ‘:’ in nested-name-specifier, expected ‘::’
5 | int a, b:
| ^
| ::
addition.cpp:5:9: error: ‘b’ has not been declared
5 | int a, b:
| ^
addition.cpp:6:6: error: qualified-id in declaration before ‘>>’ token
6 | cin >> a >> b;
| ^~
addition.cpp:8:14: error: ‘b’ was not declared in this scope
8 | int c = a + b;
| ^