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 10-16. Open the VB2015\Chap10\Chang Solution\Chang Solution (Chang Solution.sln) file. Create a structure that contains two members: an Integer variable for the minimum points and a String variable for the grades. Use the structure to declare a class-level one-dimensional array that has five elements. In the form’s Load event procedure, store the minimum points and grades in the array. The application should search the array for the number of points entered by the user and then display the appropriate grade from the array. Test the application appropriately.

Minimum points Maximum points Grade F 300 350 415 465 299 349 414 464 500 C A
Step by Step Solution
3.34 Rating (169 Votes )
There are 3 Steps involved in it
Microsoft Visual Studio Solution File Format Version 1200 Visual Studio 14 VisualStudioVersion 140225120 MinimumVisualStudioVersion 100402191 ProjectF184B08FC81C45F6A57F5ABD9991F28F Chang Project Chan... View full answer
Get step-by-step solutions from verified subject matter experts
