Problem sumint
User DL2704
Submission Time 2023-11-11 16:52:43
Score 0
Max Time N/A
Max Memory N/A

Compile Error

sumint.cpp: In function ‘int main()’:
sumint.cpp:5:27: error: expected ‘;’ before ‘<’ token
5 | for (int total = 0, total < days, total++){
| ^~
| ;
sumint.cpp:5:28: error: expected primary-expression before ‘<’ token
5 | for (int total = 0, total < days, total++){
| ^
sumint.cpp:5:43: error: expected ‘;’ before ‘)’ token
5 | for (int total = 0, total < days, total++){
| ^
| ;