Problem | evenorodd |
---|---|
User | Chetana |
Submission Time | 2024-06-19 09:22:45 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
evenorodd.cpp: In function ‘int main()’:
evenorodd.cpp:7:11: error: ‘even’ was not declared in this scope
7 | cout << even << "\n";
| ^~~~
evenorodd.cpp:8:3: error: ‘else’ without a previous ‘if’
8 | }else if(num % 2 == 1);{
| ^~~~
evenorodd.cpp:9:11: error: ‘odd’ was not declared in this scope
9 | cout << odd << "\n";
| ^~~