Question: 9. Open the VB2015Chap06Random SolutionRandom Solution (Random Solution.sln) file. The application should give the user 10 chances to guess a random number generated by the

9. Open the VB2015\Chap06\Random Solution\Random Solution (Random Solution.sln)

file. The application should give the user 10 chances to guess a random number generated by the computer. The random number should be an integer from 1 through 50, inclusive.

Each time the user makes an incorrect guess, the application should display a message that tells the user either to guess a higher number or to guess a lower number. When the user guesses the random number, the application should display a “Congratulations!”

message. If the user is not able to guess the random number after 10 tries, the application should display the random number in a message. Test the application appropriately.

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