Problem sumint
User griuehiruhigero
Submission Time 2023-06-18 10:58:39
Score 0
Max Time N/A
Max Memory N/A

Compile Error

sumint.cpp: In function ‘int main()’:
sumint.cpp:6:20: error: expected ‘;’ before ‘)’ token
6 | for(i=0, i==d, i++){
| ^
| ;
sumint.cpp:11:1: error: expected primary-expression before ‘}’ token
11 | }
| ^
sumint.cpp:10:14: error: expected ‘)’ before ‘}’ token
10 | cout << sum;
| ^
| )
11 | }
| ~
sumint.cpp:6:5: note: to match this ‘(’
6 | for(i=0, i==d, i++){
| ^
sumint.cpp:11:1: error: expected primary-expression before ‘}’ token
11 | }
| ^