Question: create a c + + program for the following: Chose anumber the user has to guess.It is a whole number between 1 and 1 0

create a c++ program for the following:
Chose anumber the user has to guess.It is a whole number between 1 and 100.The user enters a number. If they guess too high they are told so and if they guess too low they are told so.If they guess correctly the user is told they win and the game ends.The user has up to 10 guesses.If the users 10th guess is incorrect a message saying the computer won is output and the game ends.The program also tells the user how many guesses are left.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!