예제 #1
0
        public override int Exam(string name)
        {
            Examen examen = GetOrAddExamen(name);

            if (examen.Limit())
            {
                return(examen.Exam(2, 5));
            }
            else
            {
                return(-1);
            }
        }
예제 #2
0
        public override int Exam(string name)
        {
            Examen examen = GetOrAddExamen(name);

            if (examen.LastAttempt())
            {
                return(examen.grade = 3);
            }
            else
            {
                return(examen.Exam(2, 5));
            }
        }
예제 #3
0
        public override int Exam(string name)
        {
            Examen examen = GetOrAddExamen(name);

            return(examen.Exam(4, 5));
        }