Beispiel #1
0
        static void Main(string[] args)
        {
            StudentDb db = new StudentDb(10);
            db.AddStudent(1, "Raja", 99, 100, 95);
            db.AddStudent(2, "Saran", 91, 92, 93);
            db.AddStudent(3, "Rajini", 50, 51, 52);

            db.PrintAllStudentNames();

            db.PrintStudentsWithMatchingMark1(99);
        }
Beispiel #2
0
 static void Main(string[] args)
 {
     StudentDb db= new StudentDb(10);
     db.AddStudent(1, "raja", 19, 67, 99);
     db.AddStudent(2, "raju", 67, 67, 40);
     db.AddStudent(3, "ramu", 69, 36, 90);
     db.AddStudent(4, "rani", 99, 67, 89);
     db.AddStudent(5, "rama", 89, 99, 90);
     db.PrintAllStudentNames();
     db.PrintStudentWithMatchingMark1(99);
     db.PrintStudentWithMatchingMark2AndMark3(99,99);
     db.AverageStudentMark();
     db.StudentOfResult();
     db.FindStudentGivenMarkRange();
     db.MaximumMarkOfStudent();
     db.MinimumMarkOfStudent();
 }