Question: Create a Java program in eclipse calucating GPA of a student. Could use assitatnce in creating this doing the following: The program will gather all
Create a Java program in eclipse calucating GPA of a student. Could use assitatnce in creating this doing the following:
The program will gather all the information to calculate a students semester G.P.A and display the courses, grades received and the G.P.A of that student using the JOptionPane and parseing the data as needed in the program.
Syntax of the program:
Ask the user to enter their name
Ask the user to enter the name of the class, number of credit hours for the class and the letter grade received.
Calculate the weighted grade for the course by multiplying the credit hours for the course by the numeric equivalent of the grade.
Have the program calculate the total number of credit hours.
Have the program calculate the total of the weighted grades.
Write the information entered to a file named: results.txt (which the file should show class name, the credits and the grade along with the total GPA. )
Repeat this in a loop until they have no more classes to enter
All data entered must be validated
When all classes are entered the G.P.A should be calculated and written to the file.
Letter grade and grade point
A is 6
A- is 5.7
B+ is 5.5
B is 5
B- is 4.5
C+ is 4
C- is 3.5
D+ is 3
D is 2
D- 1
F is 0
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
