Example #1
0
        public static void StudentCreationMessage(string name, Instructor teach)
        {
            string toShow = "";

            toShow += "Student ";
            toShow += name;
            toShow += " has joined ";
            toShow += teach.GetName() + "'s ";
            toShow += teach.GetCourse();
            toShow += " class";
            Format(toShow);
        }
Example #2
0
        public static void GradeChangeMessage(Instructor teach, Student student, int grade)
        {
            string toShow = "";

            toShow += teach.GetName();
            toShow += " changed ";
            toShow += student.GetName() + "'s ";
            toShow += "grade in ";
            toShow += teach.GetCourse();
            toShow += " to ";
            toShow += grade;
            Format(toShow);
        }
Example #3
0
 public static void PrintInfo(Instructor teach)
 {
     Format("Instructor: " + teach.GetName());
     Format("Course: " + teach.GetCourse());
 }