|
|
@ -50,27 +50,14 @@ public class Main { |
|
|
|
case 4: |
|
|
|
// Drop Prof from Course |
|
|
|
administration.dropProfFromCourse(); |
|
|
|
|
|
|
|
break; |
|
|
|
case 5: |
|
|
|
// Drop Student from Course |
|
|
|
System.out.println("Enter Student ID"); |
|
|
|
String studentID = scanner.next(); |
|
|
|
System.out.println("Enter Course ID"); |
|
|
|
String courseIdToDrop = scanner.next(); |
|
|
|
|
|
|
|
administration.dropStudentFromCourse(studentID, courseIdToDrop); |
|
|
|
|
|
|
|
administration.dropStudentFromCourseWithInput(scanner); |
|
|
|
break; |
|
|
|
case 6: |
|
|
|
// Create Course |
|
|
|
System.out.println("Enter Course Name:"); |
|
|
|
String courseName = scanner.next(); |
|
|
|
System.out.println("Enter Course ID:"); |
|
|
|
String courseID = scanner.next(); |
|
|
|
System.out.println("Enter Credits:"); |
|
|
|
int credits = scanner.nextInt(); |
|
|
|
administration.createCourse(courseName, courseID, credits); |
|
|
|
administration.createCourseWithInput(scanner); |
|
|
|
break; |
|
|
|
case 7: |
|
|
|
// Delete Course |
|
|
|