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
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
Step by Step Solution
3.41 Rating (157 Votes )
There are 3 Steps involved in it
Microsoft Visual Studio Solution File Format Version 1200 Visual Studio 14 VisualStudioVersion 140225120 MinimumVisualStudioVersion 100402191 ProjectF184B08FC81C45F6A57F5ABD9991F28F Perez Project Pere... View full answer
Get step-by-step solutions from verified subject matter experts
