Problem sumint
User Tez
Submission Time 2023-11-10 15:32:23
Score 0
Max Time N/A
Max Memory N/A

Compile Error

sumint.cpp: In function ‘int main()’:
sumint.cpp:9:3: error: ‘total’ was not declared in this scope
9 | total += x;
| ^~~~~
sumint.cpp:10:11: error: ‘total’ was not declared in this scope
10 | }cout << total;
| ^~~~~