Problem evenorodd
User ultbiaslia
Submission Time 2023-11-08 11:01:14
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 ‘is’
6 | if (5/2 is whole)
| ~ ^~~
| )
evenorodd.cpp:7:11: error: expected ‘;’ before string constant
7 | printf "even";
| ^~~~~~~
| ;
evenorodd.cpp:8:3: error: expected primary-expression before ‘)’ token
8 | )
| ^
evenorodd.cpp:13:9: error: expected ‘)’ before ‘is’
13 | if (6/2 is whole)
| ~ ^~~
| )
evenorodd.cpp:14:11: error: expected ‘;’ before string constant
14 | printf "even";
| ^~~~~~~
| ;
evenorodd.cpp:15:2: error: expected primary-expression before ‘)’ token
15 | )
| ^