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 and The user enters a number. If they guess too high they are told so and if they guess too low they are told soIf they guess correctly the user is told they win and the game ends.The user has up to guesses.If the users th 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
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
