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

Question:

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.

Minimum points 92% of the total possible points 82% of the total possible points 75% of the total possible points 60% of the total possible points Grade ABCDF

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: