Visual Basic This assessment will cover the Programming fundamentals of the Integrated Development Environment(IDE) found in Chapters...

90.2K

Verified Solution

Question

Programming

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.

Answer & Explanation Solved by verified expert
3.8 Ratings (475 Votes)
int subint a int b return a flipSignb int mulint a int b if a b return mulb    See Answer
Get Answers to Unlimited Questions

Join us to gain access to millions of questions and expert answers. Enjoy exclusive benefits tailored just for you!

Membership Benefits:
  • Unlimited Question Access with detailed Answers
  • Zin AI - 3 Million Words
  • 10 Dall-E 3 Images
  • 20 Plot Generations
  • Conversation with Dialogue Memory
  • No Ads, Ever!
  • Access to Our Best AI Platform: Flex AI - Your personal assistant for all your inquiries!
Become a Member

Other questions asked by students