Write the Java code to calculate your 'CGPA'. The grades history is recorded in a file.
Hints:
File Format
Calculation Cumulative Grade Point (SI#, Sem_ID, Crs_ID, Cr, Grade): Average (CGPA)
Grade Point
Gatinaleraein
1,1,CSE11L, 3,A-
2,1,ENG101, 0,A
3,1,CSE112,3,B
4,2,CSE112,3,A-
5,2,CSE113,1,B-
EE(Cr * Best(GPQ) CGPA = 5nCr
where; Total number of Courses course in Credit of Course Obtain Grade Point of Course Best(GP | Best 'Grade Point' among all 'Grade Points' of the Course