Problem | evenorodd |
---|---|
User | Adflhjk |
Submission Time | 2023-11-08 10:58:55 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
evenorodd.cpp: In function ‘int main()’:
evenorodd.cpp:5:9: error: expected ‘)’ before ‘is’
5 | if (5/2 is whole) {
| ~ ^~~
| )
evenorodd.cpp:6:9: error: expected ‘;’ before string constant
6 | printf "even";
| ^~~~~~~
| ;
evenorodd.cpp:8:14: error: expected ‘)’ before ‘is’
8 | else if (5/2 is not whole) {
| ~ ^~~
| )
evenorodd.cpp:9:9: error: expected ‘;’ before string constant
9 | printf "odd";
| ^~~~~~
| ;
evenorodd.cpp:11:9: error: expected ‘)’ before ‘is’
11 | if (6/2 is whole) {
| ~ ^~~
| )
evenorodd.cpp:12:9: error: expected ‘;’ before string constant
12 | printf "even";
| ^~~~~~~
| ;
evenorodd.cpp:14:14: error: expected ‘)’ before ‘is’
14 | else if (6/2 is not whole) {
| ~ ^~~