Problem | sumint |
---|---|
User | Josh12345678 |
Submission Time | 2023-09-09 10:52:20 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
sumint.cpp: In function ‘int main()’:
sumint.cpp:14:24: error: expected ‘;’ before ‘)’ token
14 | for( i=1, i<=days, i++){
| ^
| ;
sumint.cpp:19:1: error: expected primary-expression before ‘}’ token
19 | }
| ^
sumint.cpp:18:16: error: expected ‘)’ before ‘}’ token
18 | cout << total;
| ^
| )
19 | }
| ~
sumint.cpp:14:5: note: to match this ‘(’
14 | for( i=1, i<=days, i++){
| ^
sumint.cpp:19:1: error: expected primary-expression before ‘}’ token
19 | }
| ^