internal double Gpa(Period p)
 {
     var grades = _studentRow.GetGradeRows().Where(g => p.ContainsQuarter(g.CourseRow.MarkingPeriod));
     return grades.Average(g => Maintenance.GradePoint(g.LetterGrade));
 }
Esempio n. 2
0
        internal double Gpa(Period p)
        {
            var grades = _studentRow.GetGradeRows().Where(g => p.ContainsQuarter(g.CourseRow.MarkingPeriod));

            return(grades.Average(g => Maintenance.GradePoint(g.LetterGrade)));
        }