W
wahid
• Write a program, that will have letter grade as
input of 3 subjects, and their corresponding
credit hour, and calculate the CGPA based on
those three subjects. (Use getch to input letter
grades) The Grade Point Associated with the
letter grades is: A = 4.0, B = 3.5, C = 3.0, D =
2.5, F = 0.0
CGPA = ( ∑CHi GPi ) / (∑CHi )
CH = Credit Hours
GP = Grade Point
• Enter Letter grade 1: A
• Enter Credit hours: 1.5
• Enter Letter grade 1: C
• Enter Credit hours: 3
• Enter Letter grade 1: B
• Enter Credit hours: 3
• CGPA = 3.40000
input of 3 subjects, and their corresponding
credit hour, and calculate the CGPA based on
those three subjects. (Use getch to input letter
grades) The Grade Point Associated with the
letter grades is: A = 4.0, B = 3.5, C = 3.0, D =
2.5, F = 0.0
CGPA = ( ∑CHi GPi ) / (∑CHi )
CH = Credit Hours
GP = Grade Point
• Enter Letter grade 1: A
• Enter Credit hours: 1.5
• Enter Letter grade 1: C
• Enter Credit hours: 3
• Enter Letter grade 1: B
• Enter Credit hours: 3
• CGPA = 3.40000