Odd even program, C/C++ Programming

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!

Posted Date: 3/19/2013 5:16:51 AM | Location : United States







Related Discussions:- Odd even program, Assignment Help, Ask Question on Odd even program, Get Answer, Expert's Help, Odd even program Discussions

Write discussion on Odd even program
Your posts are moderated
Related Questions
how to fill the blank space in4*4 matrix?

- But with less features and more user-friendly (particularly for non-tech savvy users). - Software needed having a left menu with links (no pictures required) for every hardwar

This question deals with AVL trees. The representation to be used is similar to the bank account object discussed in class. (a) Define a procedure called make-avl-tree which mak


create a shopping cart in c++

Program to calculate tax: float tax (float) ; int main() {                 float purchase, tax_amt, total;                 cout                 cin >> purchase

Project Description: collect / modify person records / photo images/ lookup / facebook iphone and ipad App basic function : 1 user will configure facebook connection

What are the debugging methods you employ while came across a problem? A: Debugging with tools such as: 1.      DBG, GDB ,Forte, Visual Studio. 2.      Using tusc to trace

There are ''n'' ants on a ''n+1'' length rod. The ants are numbered from 1 to n and are initially placed at positions starting from position 1 till position n. They are moving eith