Create a GPA calculator in Java. Ask the end user for the credit hours and letter grade
Fantastic news! We've Found the answer you've been seeking!
Question:
Create a GPA calculator in Java. Ask the end user for the credit hours and letter grade for each class. Once the user is finished with the data entry, calculate and output the overall GPA for the given input.
For example, if four classes are input, each of which is a three-hour course, with grades of A, B, B, and B, the overall GPA will be 3.25.
The exact user interaction is up to you. As long as the requirements above are met, the code is readable (and properly documented), and the application is user-friendly.
Letter Grade
Grade Point Value per Credit Hour
A-4
B-3
C-2
D-1
F-0
And the semester GPA is the total grade points divided by total credit hours.
Posted Date: