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