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

Compile Error

evenorodd.cpp: In function ‘int main()’:
evenorodd.cpp:7:10: error: lvalue required as left operand of assignment
7 | if (x%2=1){
| ^
evenorodd.cpp:9:16: error: lvalue required as left operand of assignment
9 | }else if (x%2=2){
| ^