Problem sumint
User AineshB
Submission Time 2024-11-07 10:39:06
Score 0
Max Time N/A
Max Memory N/A

Compile Error

sumint.cpp: In function ‘int main()’:
sumint.cpp:12:2: error: expected initializer before ‘cin’
12 | cin >> x;
| ^~~
sumint.cpp:13:9: error: ‘x’ was not declared in this scope
13 | sum += x;
| ^