Question: How can do that (p. 397) 10. Write an application that enables a user to input the grade and number of credit hours for any
How can do that "(p. 397) 10. Write an application that enables a user to input the grade and number of credit hours for any number of courses. Calculate the GPA on a 4.0 scale using those values. Grade point average (GPA) is calculated by dividing the total amount of grade points earned, sometimes referred to as quality points, by the total number of credit hours attempted. For each hour, an A receives 4 grade or quality points, a B receives 3 points, a C receives 2 points, and a D receives 1 point. Thus, a threecredit hour course receiving an A would have 12 quality points associated with the course. Allow the user to input any number of courses and associated grades. Display the number of hours earned and the calculated GPA."
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
