Problem evenorodd
User eqweqweqeeeeeeeeeee
Submission Time 2023-03-24 15:11:38
Score 0
Max Time N/A
Max Memory N/A

Compile Error

evenorodd.cpp: In function ‘int32_t main()’:
evenorodd.cpp:9:4: error: expected ‘(’ before ‘number’
9 | if number % 2 == 0:
| ^~~~~~
| (
evenorodd.cpp:11:1: error: ‘else’ without a previous ‘if’
11 | else:
| ^~~~
evenorodd.cpp:11:5: error: expected primary-expression before ‘:’ token
11 | else:
| ^