Problem | sumint |
---|---|
User | Isaiah |
Submission Time | 2023-05-12 19:20:57 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
sumint.cpp: In function ‘int main()’:
sumint.cpp:11:7: error: ‘i’ was not declared in this scope
11 | for (i = 0, i<num, i++){
| ^
sumint.cpp:15:1: error: expected primary-expression before ‘}’ token
15 | }
| ^
sumint.cpp:13:3: error: expected ‘;’ before ‘}’ token
13 | }
| ^
| ;
14 |
15 | }
| ~
sumint.cpp:15:1: error: expected primary-expression before ‘}’ token
15 | }
| ^
sumint.cpp:13:3: error: expected ‘)’ before ‘}’ token
13 | }
| ^
| )
14 |
15 | }
| ~
sumint.cpp:11:6: note: to match this ‘(’
11 | for (i = 0, i<num, i++){
| ^
sumint.cpp:15:1: error: expected primary-expression before ‘}’ token
15 | }
| ^