|
@ -38,10 +38,10 @@ public class Main { |
|
|
switch (choice) { |
|
|
switch (choice) { |
|
|
case 1: |
|
|
case 1: |
|
|
// Register User |
|
|
// Register User |
|
|
|
|
|
administration.registerUser(); |
|
|
break; |
|
|
break; |
|
|
case 2: |
|
|
case 2: |
|
|
// Enroll Student in Course |
|
|
|
|
|
break; |
|
|
|
|
|
|
|
|
break; |
|
|
case 3: |
|
|
case 3: |
|
|
// Enroll Prof to Course |
|
|
// Enroll Prof to Course |
|
|
break; |
|
|
break; |
|
@ -53,6 +53,13 @@ public class Main { |
|
|
break; |
|
|
break; |
|
|
case 6: |
|
|
case 6: |
|
|
// Create Course |
|
|
// 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); |
|
|
break; |
|
|
break; |
|
|
case 7: |
|
|
case 7: |
|
|
// Delete Course |
|
|
// Delete Course |
|
|