Question: Write a program that reads an integer and determines and prints whether it’s odd or even. [Hint: Use the remainder operator. An even number is a multiple of two. Any multiple of two leaves a remainder of zero when divided by 2.]

Click here to see other solutions to Deitel C How To Program exercises.

Write A Comment