Problem evenorodd
User irinatan
Submission Time 2024-02-21 11:02:57
Score 0
Max Time N/A
Max Memory N/A

Compile Error

evenorodd.cpp:2:1: error: ‘cin’ does not name a type
2 | cin >> numb;
| ^~~
evenorodd.cpp:3:1: error: expected unqualified-id before ‘if’
3 | if (numb % 2 == 0) {
| ^~
evenorodd.cpp:6:1: error: expected unqualified-id before ‘else’
6 | else: {
| ^~~~