Problem | addition |
---|---|
User | aihibo |
Submission Time | 2023-05-18 17:48:36 |
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 | cin >>x:
| ^
| ::
addition.cpp:5:9: error: ‘x’ has not been declared
5 | cin >>x:
| ^
addition.cpp:6:8: error: ‘y’ was not declared in this scope; did you mean ‘yn’?
6 | cin>>y;
| ^
| yn
addition.cpp:7:11: error: ‘x’ was not declared in this scope
7 | cout << x+y;
| ^