Problem | sumint |
---|---|
User | 2Princes1Lance |
Submission Time | 2023-11-22 14:34:39 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
sumint.cpp: In function ‘int main()’:
sumint.cpp:10:23: error: expected ‘;’ before ‘)’ token
10 | for(j = 0, j < i, j++){
| ^
| ;
sumint.cpp:15:2: error: expected primary-expression before ‘return’
15 | return 0;
| ^~~~~~
sumint.cpp:14:18: error: expected ‘)’ before ‘return’
14 | printf("%i", j);
| ^
| )
15 | return 0;
| ~~~~~~
sumint.cpp:10:5: note: to match this ‘(’
10 | for(j = 0, j < i, j++){
| ^