Problem sumint
User Isabel123
Submission Time 2023-11-08 09:35:47
Score 0
Max Time N/A
Max Memory N/A

Compile Error

sumint.cpp: In function ‘int main()’:
sumint.cpp:10:3: error: ‘sum’ was not declared in this scope
10 | sum += x;
| ^~~
sumint.cpp:12:10: error: ‘sum’ was not declared in this scope
12 | cout << sum << "/n";
| ^~~