Question: A java program : Assume that a university awards the following points for grades: Grade Points per credit hour A 4 B 3 C 2

A java program :

Assume that a university awards the following points for grades:

Grade Points per credit hour
A 4
B 3
C 2
D 1
F 0
I (Incomplete) No credit hours or points
W (Withdrawal) No credit hours or points

The grade point average is calculated as follows:

A java program : Assume that a university awards the following points

where

(ch)i is the number of credit hours for the i-th course,

pi is the number of points earned for the i-th course, and

n is the number of courses completed with a grade of A, B, C, D or F.

For each student, input the following:

student name

student number

for each course taken by that student:

grade

number of credit hours

Assume that the number of students is not known and that the list of courses for each student is ended by an asterisk (*).

For each student, output the name and number and the gpa.

Call your class GPA.

gpa-2-1(ch), * pi

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!