Create an application that generates a random nmber….

$25.00

Category: You will Instantly receive a download link for .zip solution file upon Payment || To Order Original Work Click Custom Order?

Description

5/5 - (2 votes)

Create an application that generates a random nmber in the range of 1 through 100, and asks the user to guess what the number is. If the user’s guess is higher than the random number, the program should display “Too high, try again.” If the user’s guess is lower than the number the program should say, “Too low, try again.” The program should use a loop that repeats until the user guesses correctly the random number.

Enhance this program so it keeps count of the number of guesses that the user makes. When the user correctly guesses the random number, the program should display the number of guesses.