In this exercise, you modify one of the Course Information applications created in this chapters Apply lesson.

Question:

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.

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

Step by Step Answer:

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