Problem | sumint |
---|---|
User | chaewon11 |
Submission Time | 2024-07-29 14:19:04 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
sumint.cpp:5:2: error: expected primary-expression before ‘int’
5 | int numberofdays;
| ^~~
sumint.cpp:4:12: error: expected ‘]’ before ‘int’
4 | int main()[
| ^
| ]
5 | int numberofdays;
| ~~~
sumint.cpp:6:2: error: ‘cin’ does not name a type; did you mean ‘sin’?
6 | cin>>numberofdays;
| ^~~
| sin
sumint.cpp:9:2: error: expected unqualified-id before ‘for’
9 | for(int i=0;i=numberofdays;i++){
| ^~~
sumint.cpp:9:14: error: ‘i’ does not name a type
9 | for(int i=0;i=numberofdays;i++){
| ^
sumint.cpp:9:29: error: ‘i’ does not name a type
9 | for(int i=0;i=numberofdays;i++){
| ^
sumint.cpp:15:2: error: ‘cout’ does not name a type
15 | cout<<sum;
| ^~~~
sumint.cpp:16:1: error: expected declaration before ‘}’ token
16 | }