Tuesday, July 14, 2009

Write a program that plays the game of "guess the number" as fallows:?

your program chooses the number to be guessed by selecting an integer at random in the range 1 to 1000.I want this program in C++. The program then displays the fallowing:


"please type your first guess."


The player then types a first guess. The programn respond with one of the fallowing:


"1.Excellent!


2. too low!


3.too high!"


If the player's guess is incorrect, your program should loop until the player finally gets the number right.Your program should keep telling the player "too high" or "too low" to help the player "zero in" on the correct answer.

Write a program that plays the game of "guess the number" as fallows:?
If you don't want to learn how to program yourself, don't take programming classes. We won't be doing your home works for you


No comments:

Post a Comment