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

Compile Error

evenorodd.cpp: In function ‘int main()’:
evenorodd.cpp:6:4: error: expected ‘(’ before ‘{’ token
6 | if {a%2=0} == true
| ^
| (
evenorodd.cpp:6:12: error: expected primary-expression before ‘==’ token
6 | if {a%2=0} == true
| ^~
evenorodd.cpp:8:17: error: expected primary-expression before ‘==’ token
8 | else if {a%2=0} == !true
| ^~