Problem evenorodd
User ultbiaslia
Submission Time 2023-11-08 10:59:23
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:11:9: error: expected ‘)’ before ‘is’
11 | if (6/2 is whole) {
| ~ ^~~
| )
evenorodd.cpp:12:11: error: expected ‘;’ before string constant
12 | printf "even"
| ^~~~~~~
| ;