Problem | evenorodd |
---|---|
User | SMILE |
Submission Time | 2024-04-13 10:06:29 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
evenorodd.cpp: In function ‘int main()’:
evenorodd.cpp:7:7: error: expected ‘;’ before ‘if’
7 | x=x%2
| ^
| ;
8 | if (x==1){
| ~~
evenorodd.cpp:10:3: error: ‘else’ without a previous ‘if’
10 | }else{
| ^~~~