private void Calculate()
        {
            GPACalculator.Answer answer = GPACalculator.Calculate(Years);

            CreditsEarned       = answer.CreditsEarned;
            CreditsAffectingGpa = answer.CreditsAffectingGpa;
            GPA = answer.GPA;
        }
Exemple #2
0
        private void Calculate()
        {
            GPACalculator.Answer answer = GPACalculator.Calculate(Semesters);

            CalculatedCreditsEarned       = answer.CreditsEarned;
            CalculatedCreditsAffectingGpa = answer.CreditsAffectingGpa;
            CalculatedGPA = answer.GPA;
        }