Open the Scores Solution (Scores Solution.sln) file contained in the VB2010\Chap09\Scores Solution folder. If necessary, open the designer window. Open the Code Editor window and then open the code...


Open the Scores Solution (Scores Solution.sln) file contained in the VB2010\Chap09\Scores Solution folder. If necessary, open the designer window. Open the Code Editor window and then open the code template for the btnDisplay control’s Click event procedure. Declare a 20-element, one-dimensional Integer array named intScores. Assign the following 20 numbers to the array: 88, 72, 99, 20, 66, 95, 99, 100, 72, 88, 78, 45, 57, 89, 85, 78, 75, 88, 72, and 88. The procedure should prompt the user to enter a score from 0 through 100. It then should display (in a message box) the number of students who earned that score. Code the procedure. Save the solution and then start the application. Use the application to answer the following questions, and then close the Code Editor window and the solution:


How many students earned a score of 72?


How many students earned a score of 88?


How many students earned a score of 20?


How many students earned a score of 99?

Nov 24, 2021
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here