Write a java program that calculates the grade point average of three course and their credit hours through, if the grade points and credit hours are as follows:
COURSE/SUBJECT GRADE GRADEPOINT CREDIT HOURS
Maths A 4.0 3
English composition B 3.0 2
French B+ 3.3 3

Now, if the grade print is equal to 4, print out first class.
If the grade point is equal or greater than 3.0 but less than 4, print out second class upper.
If the grade point is equal or greater than 2.0 but less than 3 print out second class lower.
Use the if – else – if statements.

Okay. Finished.

Solution here

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.