Problem | sumint |
---|---|
User | coderccodes |
Submission Time | 2023-07-03 16:26:58 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
sumint.cpp: In function ‘int main()’:
sumint.cpp:9:18: error: expected ‘;’ before ‘)’ token
9 | for (d=0, b, d++){
| ^
| ;
sumint.cpp:14:10: error: ‘i’ was not declared in this scope
14 | cout << i;
| ^
sumint.cpp:15:2: error: expected primary-expression before ‘return’
15 | return 0;
| ^~~~~~
sumint.cpp:14:12: error: expected ‘)’ before ‘return’
14 | cout << i;
| ^
| )
15 | return 0;
| ~~~~~~
sumint.cpp:9:6: note: to match this ‘(’
9 | for (d=0, b, d++){
| ^