In this exercise, you code an application that displays a grade based on the number of points entered by the user. The grading scale is shown in Figure 9-44. Open the VB2015\ Chap09\Perez...



In this exercise, you code an application that displays a grade based on the number of


points entered by the user. The grading scale is shown in Figure 9-44. Open the VB2015\


Chap09\Perez Solution\Perez Solution (Perez Solution.sln) file. The user will enter the total


possible points in the Possible points box. The btnCreate_Click procedure should store


the minimum number of points and the grades in two parallel one-dimensional arrays.


The btnDisplay_Click procedure should display the grade corresponding to the number of


points entered in the Earned points box. Save the solution and then start the application.


Enter 300 in the Possible points box, and then click the Create Grading Scale button. Enter


185 in the Earned points box, and then click the Display Grade button. The letter D should


appear in the Grade box. Next, enter 275 in the Earned points box, and then click the


Display Grade button. The letter B should appear in the Grade box. Enter 500 in the Possible


points box, and then click the Create Grading Scale button. Enter 400 in the Earned points


box, and then click the Display Grade button. The letter C should appear in the Grade box.


Test the application using different values for the possible and earned points



Nov 30, 2021
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here