Problem evenorodd
User TJX1111
Submission Time 2025-07-29 16:45:40
Score 0
Max Time N/A
Max Memory N/A

Compile Error

evenorodd.cpp: In function ‘int main()’:
evenorodd.cpp:4:7: error: ‘a’ was not declared in this scope
4 | if (a % 2=0) {
| ^
evenorodd.cpp:6:3: error: expected ‘}’ before ‘else’
6 | else {
| ^~~~
evenorodd.cpp:4:16: note: to match this ‘{’
4 | if (a % 2=0) {
| ^
evenorodd.cpp:9:1: error: expected ‘}’ at end of input
9 | }
| ^
evenorodd.cpp:3:12: note: to match this ‘{’
3 | int main() {
| ^