Question: In this exercise, you modify one of the Course Information applications created in this chapters Apply lesson. Use Windows to make a copy of the
In this exercise, you modify one of the Course Information applications created in this chapter’s Apply lesson. Use Windows to make a copy of the Course Info Solution-Total Hours folder. Rename the copy Course Info Solution-GPA.
a. Open the Course Info Solution.sln file contained in the Course Info Solution-GPA folder. Unlock the controls on the form. Then, add two labels to the form. Position both between the lblTotal and btnCalc controls. Change one of the new label’s Text property to GPA:. Change the other new label’s name to lblGpa. Lock the controls.
b. Open the Code Editor window. In addition to displaying the total number of hours completed, the btnCalc_Click procedure should also display the student’s GPA. Grades of A, B, C, D, and F are worth 4 points, 3 points, 2 points, 1 point, and no points, respectively. Display the GPA with one decimal place. Modify the procedure’s code.
c. Save the solution and then start and test the application.
Step by Step Solution
3.38 Rating (145 Votes )
There are 3 Steps involved in it
Microsoft Visual Studio Solution File Format Version 1200 Visual Studio 15 VisualStudioVers... View full answer
Get step-by-step solutions from verified subject matter experts
