write a program called oddeven that will prompt


Write a program called OddEven that will prompt the user for an integer and print/display a message indicating whether it is even or odd. Continue prompting for numbers from the user and displaying odd/even until the user enters 0. When 0 is entered, exit the loop and display "Goodbye".

Sample Run:

Enter a number: 4

Even

Enter a number: 3

Odd

Enter a number: 99

Odd

Enter a number: 1

Odd

Enter a number: 0

Even

Goodbye!

Request for Solution File

Ask an Expert for Answer!!
C/C++ Programming: write a program called oddeven that will prompt
Reference No:- TGS0212399

Expected delivery within 24 Hours