Problem sumint
User 2Princes1Lance
Submission Time 2023-11-22 14:33:35
Score 0
Max Time N/A
Max Memory N/A

Compile Error

sumint.cpp: In function ‘int main()’:
sumint.cpp:9:23: error: expected ‘;’ before ‘)’ token
9 | for(j = 0, j < i, j++){
| ^
| ;
sumint.cpp:14:2: error: expected primary-expression before ‘return’
14 | return 0;
| ^~~~~~
sumint.cpp:13:18: error: expected ‘)’ before ‘return’
13 | printf("%i", j);
| ^
| )
14 | return 0;
| ~~~~~~
sumint.cpp:9:5: note: to match this ‘(’
9 | for(j = 0, j < i, j++){
| ^