Problem evenorodd
User rain127
Submission Time 2025-12-03 13:29:06
Score 0
Max Time N/A
Max Memory N/A

Compile Error

evenorodd.cpp: In function ‘int main()’:
evenorodd.cpp:7:2: error: ‘String’ was not declared in this scope
7 | String result = (a%2 == 0) ? cout "Even" : "Odd";
| ^~~~~~
evenorodd.cpp:9:10: error: ‘result’ was not declared in this scope
9 | cout << result;
| ^~~~~~