Problem | sumint |
---|---|
User | senkyte |
Submission Time | 2024-02-05 16:36:09 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
sumint.cpp: In function ‘int main()’:
sumint.cpp:6:18: error: expected ‘;’ before ‘<’ token
6 | for(int i = 0, i<total, i++){
| ^
| ;
sumint.cpp:6:18: error: expected primary-expression before ‘<’ token
sumint.cpp:6:29: error: expected ‘;’ before ‘)’ token
6 | for(int i = 0, i<total, i++){
| ^
| ;
sumint.cpp:12:13: error: ‘newtotal’ was not declared in this scope; did you mean ‘total’?
12 | std::cout<<newtotal;
| ^~~~~~~~
| total