|
@ -30,10 +30,7 @@ public class Main { |
|
|
System.out.println("8. View Courses"); |
|
|
System.out.println("8. View Courses"); |
|
|
System.out.println("9. Assign Grade to Student"); |
|
|
System.out.println("9. Assign Grade to Student"); |
|
|
System.out.println("10. View Grades from Student"); |
|
|
System.out.println("10. View Grades from Student"); |
|
|
System.out.println("11. View User"); |
|
|
|
|
|
System.out.println("12. Delete User"); |
|
|
|
|
|
System.out.println("13. View Course List"); |
|
|
|
|
|
System.out.println("14. Exit (includes saving data in the files)"); |
|
|
|
|
|
|
|
|
System.out.println("11. Exit (includes saving data in the files)"); |
|
|
System.out.print("Select an option: "); |
|
|
System.out.print("Select an option: "); |
|
|
|
|
|
|
|
|
int choice = scanner.nextInt(); |
|
|
int choice = scanner.nextInt(); |
|
@ -104,10 +101,8 @@ public class Main { |
|
|
case 10: |
|
|
case 10: |
|
|
// View Grades from Student |
|
|
// View Grades from Student |
|
|
break; |
|
|
break; |
|
|
|
|
|
|
|
|
case 11: |
|
|
case 11: |
|
|
// Delete User |
|
|
|
|
|
break; |
|
|
|
|
|
case 12: |
|
|
|
|
|
// Exit (includes saving data in the files) |
|
|
// Exit (includes saving data in the files) |
|
|
exit = true; |
|
|
exit = true; |
|
|
System.out.println("Exiting..."); |
|
|
System.out.println("Exiting..."); |
|
|