Fakultas Ilmu Komputer UI

Commit 55fd787d authored by hazlazuardi's avatar hazlazuardi
Browse files

Merge with altaaj

parents 21bf7de2 8ce68e32
Pipeline #81999 passed with stages
in 4 minutes and 9 seconds
it1,st,rpl,2020-01-01,true,st,ta
it1,st,rpl,2020-01-01,true,ta,st
tes1,st,rpl,2021-06-23,true,ta,st
st,t1,rpl
null,test,RPL
null,test,RPL,RPL
null,test,RPL,RPL,RPL
null,test,RPL,RPL,RPL,RPL
null,test,RPL,RPL,RPL,RPL,RPL
null,test,RPL
null,test,RPL,RPL
null,test,RPL,RPL,RPL
null,test,RPL,RPL,RPL,RPL
null,test,RPL,RPL,RPL,RPL,RPL
st,t1,rpl,adpro
......@@ -34,12 +34,16 @@ public class Student extends Role {
@Override
public void exclusiveActions() {
System.out.println();
System.out.println("Timetable Management System");
System.out.println("6. Create a timetable");
System.out.println("7. See the list of timetable");
System.out.println("8. Add Course to a timetable");
System.out.println("9. Delete a Course in a timetable");
System.out.println("10. Find a timetable");
System.out.println("11. Delete a timetable");
System.out.println();
System.out.println("Assignment Management System");
System.out.println("12. Add an assignment");
System.out.println("13. See the list of assignments");
System.out.println("14. Validate assignments");
......@@ -224,8 +228,8 @@ public class Student extends Role {
try {
String timetableName = in.next();
System.out.println(timetableList.getTimetable(timetableName, Main.currentUser).getTimetableName());
System.out.println("Courses: " + timetableList.getTimetable(timetableName, Main.currentUser).getCourses().toString());
System.out.println("Owner: " + timetableList.getTimetable(timetableName, Main.currentUser).getOwner().getUsername());
System.out.println("- Courses: " + timetableList.getTimetable(timetableName, Main.currentUser).getCourses().toString());
System.out.println("- Owner: " + timetableList.getTimetable(timetableName, Main.currentUser).getOwner().getUsername());
break;
} catch (NullPointerException e) {
System.out.println("Timetable not found");
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment