Problem evenorodd
User yeetmaster
Submission Time 2023-10-28 19:36:39
Score 0
Max Time N/A
Max Memory N/A

Compile Error

evenorodd.cpp: In function ‘int main()’:
evenorodd.cpp:8:22: error: invalid conversion from ‘const char*’ to ‘int’ [-fpermissive]
8 | b = (a % 2 == 0) ? "Even" : "Odd";
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
| |
| const char*