Problem evenorodd
User claireau
Submission Time 2023-11-08 11:18:21
Score 0
Max Time N/A
Max Memory N/A

Compile Error

evenorodd.cpp: In function ‘int main()’:
evenorodd.cpp:7:9: error: expected primary-expression before ‘int’
7 | if (a/2=int) == true
| ^~~
evenorodd.cpp:7:9: error: expected ‘)’ before ‘int’
7 | if (a/2=int) == true
| ~ ^~~
| )
evenorodd.cpp:7:14: error: expected primary-expression before ‘==’ token
7 | if (a/2=int) == true
| ^~
evenorodd.cpp:9:14: error: expected primary-expression before ‘int’
9 | else if (a/2=int) == !true
| ^~~
evenorodd.cpp:9:14: error: expected ‘)’ before ‘int’
9 | else if (a/2=int) == !true
| ~ ^~~
| )
evenorodd.cpp:9:19: error: expected primary-expression before ‘==’ token
9 | else if (a/2=int) == !true
| ^~