Problem | evenorodd |
---|---|
User | ultbiaslia |
Submission Time | 2023-11-08 11:22:44 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
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:9:3: error: expected primary-expression before ‘else’
9 | else if (5/2 is not whole)
| ^~~~
evenorodd.cpp:8:4: error: expected ‘)’ before ‘else’
8 | (
| ~^
| )
9 | else if (5/2 is not whole)
| ~~~~
evenorodd.cpp:14:9: error: expected ‘)’ before ‘is’
14 | if (6/2 is whole){
| ~ ^~~
| )
evenorodd.cpp:15:11: error: expected ‘;’ before string constant
15 | printf "even";
| ^~~~~~~
| ;
evenorodd.cpp:17:3: error: expected primary-expression before ‘else’
17 | else if (6/2 is not whole)