Example #1
0
 public double CalculateFinalAverage(UserInput userInput)
 {
     return((userInput.Grades.Average() * 0.3) + (0.7 * userInput.ExamGrade));
 }
Example #2
0
 public double CalculateFinalMedian(UserInput userInput)
 {
     return((Convert.ToDouble(GetMedian(userInput.Grades)) * 0.3) + (0.7 * userInput.ExamGrade));
 }