Question: In this exercise, you modify the application from Exercise 5. Use Windows to make a copy of the Guessing Game Solution folder. Rename the copy

In this exercise, you modify the application from Exercise 5. Use Windows to make a copy of the Guessing Game Solution folder. Rename the copy Modified Guessing Game Solution. Open the Guessing Game Solution (Guessing Game Solution.sln) file contained in the Modified Guessing Game Solution folder. The application should allow the user to make only five incorrect guesses. When the user has made the fifth incorrect guess, display the random integer. Modify the code to reflect these changes. Test the application appropriately.


Data From Exercise 5:

Create an application, using the following names for the solution and project, respectively: Guessing Game Solution and Guessing Game Project. Save the application in the VB2015\Chap05 folder. The application should generate a random integer from 1 through 30, inclusive. It then should give the user as many chances as necessary to guess the integer. Each time the user makes a guess, the application should display one of three messages: “Guess higher”, “Guess lower”, or “Correct. The random integer is x.”, where x is the random integer. The application should also display the number of chances that were required for the user to guess the number. Create a suitable interface, and then code the application. Test the application appropriately.

Step by Step Solution

3.27 Rating (165 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Microsoft Visual Studio Solution File Format Version 1200 Visual Studio 14 VisualStudioVersion 140225120 MinimumVisualStudioVersion 100402191 ProjectF184B08FC81C45F6A57F5ABD9991F28F Guessing Game Proj... View full answer

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 Programming with Microsoft Visual Basic 2015 Questions!