Problem | sumint |
---|---|
User | anantika |
Submission Time | 2024-08-04 20:31:43 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
sumint.cpp: In function ‘int main()’:
sumint.cpp:7:14: error: expected unqualified-id before ‘int’
7 | for(int i=0,int i<numberofdays,i++){
| ^~~
sumint.cpp:7:14: error: expected ‘;’ before ‘int’
7 | for(int i=0,int i<numberofdays,i++){
| ^~~
| ;
sumint.cpp:7:18: error: redeclaration of ‘int i’
7 | for(int i=0,int i<numberofdays,i++){
| ^
sumint.cpp:7:10: note: ‘int i’ previously declared here
7 | for(int i=0,int i<numberofdays,i++){
| ^
sumint.cpp:7:19: error: expected initializer before ‘<’ token
7 | for(int i=0,int i<numberofdays,i++){
| ^
sumint.cpp:7:19: error: expected ‘;’ before ‘<’ token
7 | for(int i=0,int i<numberofdays,i++){
| ^
| ;
sumint.cpp:7:19: error: expected primary-expression before ‘<