Problem evenorodd
User G
Submission Time 2024-02-07 19:06:29
Score 0
Max Time N/A
Max Memory N/A

Compile Error

evenorodd.cpp: In function ‘int main()’:
evenorodd.cpp:6:21: error: ‘even’ was not declared in this scope
6 | if(n%2==0) cout << even;
| ^~~~
evenorodd.cpp:7:11: error: expected ‘;’ before ‘odd’
7 | else cout odd;
| ^~~~
| ;