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

Compile Error

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