Problem evenorodd
User SMILE
Submission Time 2024-04-13 10:05:57
Score 0
Max Time N/A
Max Memory N/A

Compile Error

evenorodd.cpp: In function ‘int main()’:
evenorodd.cpp:7:6: error: expected ‘;’ before ‘if’
7 | x%=2
| ^
| ;
8 | if (x==1){
| ~~
evenorodd.cpp:10:3: error: ‘else’ without a previous ‘if’
10 | }else{
| ^~~~