Problem | sumint |
---|---|
User | Isabel123 |
Submission Time | 2023-11-08 09:36:12 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
sumint.cpp: In function ‘int main()’:
sumint.cpp:10:11: error: expected initializer before ‘+=’ token
10 | int sum += x;
| ^~
sumint.cpp:12:10: error: ‘sum’ was not declared in this scope
12 | cout << sum << "/n";
| ^~~