GPA_calculator

this is my homework from NCKU

According to the National Cheng Kung University Transcript Guide NCKU has both a numerical grading system and a letter grading system to mark grades on the transcript. The letter grading system can be presented as A, B, C, and F. Within grade A, grade B, and grade C, each can have an optional “+” or “-”.

Each grade have a corresponding grade point which can be used to calculate GPA, the formula for GPA is GPA = (credit * grade point) / total credit The following table is the equivalent values for grade, letter grade and grade points.