public void submitGrades(Student student, Coeficient balance) { foreach (var stud in _submittedStudents) { stud.calcFinalGrade(balance); } }
internal handleCourse( string name, Coeficient balance) { CourseName = name; ExamBalance = balance; _submittedStudents = new List<Student>(); Status = CourseStatus.Starting; Courses = new Courses(); }
internal handleCourse(string name, Coeficient balance) { CourseName = name; ExamBalance = balance; _submittedStudents = new List <Student>(); Status = CourseStatus.Starting; Courses = new Courses(); }
internal handleCourse(string name,Coeficient balance, List<Student> submittedStuds) : this(name,balance) { Contract.Requires(submittedStuds != null); _submittedStudents = submittedStuds; }
internal handleCourse(string name, Coeficient balance, List <Student> submittedStuds) : this(name, balance) { Contract.Requires(submittedStuds != null); _submittedStudents = submittedStuds; }
internal void calcFinalGrade(Coeficient coeficient) { var valCoeficient = coeficient.Fractie; finalGrade = new Grade(Math.Round(valCoeficient * examGrade.GradeValue + (1 - valCoeficient) * activityGrades.calculateAverage.GradeValue)); }