Assume you are writing the code in main() { …… Your…
Assume you are writing the code in main() { …… Your Code }. ( no need to add any includes ).Write code to prompt the user to enter a number ( int ) determine if the number is even or odd using the ternary operator and display it.Sample output: Enter a number: 55 is oddSample outputEnter a number: 88 is Even
Read Details