Visual Basic
This assessment will cover the Programming fundamentals of theIntegrated Development Environment(IDE) found in Chapters 1-7 ofthe assigned text. In this assignment, you will demonstrate the useof tools explored so far within the course. It is the High TotalsGame activity found in the Case Projects section of your book.Requirements: Copy/paste the VB code into a Microsoft Worddocument. You are also required to submit enough screenshots of theoutput to show that all work has been completed.
Create an application that can be used to practice adding,subtracting, multiplying, and dividing numbers. The applicationshould display a math problem on the screen and then allow thestudent to enter the answer and also verify that the answer iscorrect. The application should give the student as many chances asnecessary to answer the problem correctly. The math problems shoulduse random integers from 1 through 20, inclusive. The subtractionproblems should never ask the student to subtract a larger numberfrom a smaller one. The division problems should never ask thestudent to divide a smaller number by a larger number. Also, theanswer to the division problems should always result in a wholenumber. The application should keep track of the number of correctand incorrect responses made by the student. The interface shouldinclude a button that allows the user to reset the counters for adifferent student.
The High Total game requires two players. The application’sinterface should allow the user to enter each player’s name. Whenthe user clicks a button, the button’s Click event procedure shouldgenerate two random numbers for player 1 and two random numbers forplayer 2. The random numbers should be in the range of 1 through20, inclusive. The procedure should display the four numbers in theinterface. It should also total the numbers for each player andthen display both totals in the interface. If both totals are thesame, the application should display the message “Tieâ€. If player1’s total is greater than player 2’s total, it should display themessage “player 1’s name wonâ€. If player 2’s total is greater thanplayer 1’s total, it should display the message “player 2’s namewonâ€. The application should keep track of the number of timesplayer 1 wins, the number of times player 2 wins, and the number ofties. The interface should also include a button that allows theuser to reset the counters and interface for a new game.