Problem evenorodd
User Adflhjk
Submission Time 2023-11-08 11:25:36
Score 0
Max Time N/A
Max Memory N/A

Compile Error

evenorodd.cpp: In function ‘int main()’:
evenorodd.cpp:6:9: error: expected ‘;’ before string constant
6 | printf "even";
| ^~~~~~~
| ;
evenorodd.cpp:9:10: error: expected ‘;’ before string constant
9 | printf "odd";
| ^~~~~~
| ;
evenorodd.cpp:11:10: error: lvalue required as left operand of assignment
11 | if (6/2=3) {
| ^
evenorodd.cpp:12:9: error: expected ‘;’ before string constant
12 | printf "even";
| ^~~~~~~
| ;
evenorodd.cpp:15:10: error: expected ‘;’ before string constant
15 | printf "odd";
| ^~~~~~
| ;