Example: 3 courses with grades 4.0 / 3.7 / 3.3 and credits 3 / 3 / 2.
Calculate average and weighted GPA.
Вхідні дані
Результат: Average GPA and weighted GPA.
Порада: If credits are entered, count should match grade count.