Problem sumint
User Evoi
Submission Time 2023-01-10 19:24:20
Score 0
Max Time N/A
Max Memory N/A

Compile Error

sumint.cpp: In function ‘int main()’:
sumint.cpp:7:19: error: expected ‘)’ before ‘;’ token
7 | while ( int i = a; i > 0; i--){
| ~ ^
| )
sumint.cpp:7:21: error: ‘i’ was not declared in this scope
7 | while ( int i = a; i > 0; i--){
| ^