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