Commit ffe59a00 authored by daniel.tang's avatar daniel.tang

Update outdated.java

parent 22a9eba8
......@@ -91,7 +91,6 @@ public class Airline_Program_v2 {
out.println("Please enter > \n"
+" \n"
+"O - Start Documentation \n"
+"K - Print Boarding Passs \n"
+"OR type 'Exit' to exit the application. \n"
+" \n"
+"");
......@@ -107,11 +106,6 @@ public class Airline_Program_v2 {
documentSwitch();
break;
case "k":
case "K":
boardingSwitch();
break;
case "m":
case "M":
//managementRole();
......@@ -166,11 +160,11 @@ public class Airline_Program_v2 {
+ "[01] [10] | [19] [28] [37] | [46] [55] [64] [73] [82]\n"
+ "[02] [11] | [20] [29] [38] | [47] [56] [65] [74] [83]\n"
+ "[03] [12] | [21] [30] [39] | [48] [57] [66] [75] [84]\n"
+ "-----------------------------------------------------\n"
+ "----------+----------------+-------------------------\n"
+ "[04] [13] | [22] [31] [40] | [49] [58] [67] [76] [85]\n"
+ "[05] [14] | [23] [32] [41] | [50] [59] [68] [77] [86]\n"
+ "[06] [15] | [24] [32] [42] | [51] [60] [69] [78] [87]\n"
+ "-----------------------------------------------------\n"
+ "----------+----------------+-------------------------\n"
+ "[07] [16] | [25] [33] [44] | [52] [61] [70] [79] [88]\n"
+ "[08] [17] | [26] [34] [45] | [53] [62] [71] [80] [89]\n"
+ "[09] [18] | [27] [35] [46] | [54] [63] [72] [81] [90]\n");
......@@ -230,7 +224,7 @@ public class Airline_Program_v2 {
out.println();
out.println("--------------------------------------------------------");
out.println("Detail Check:");
out.println("Boarding Pass:");
out.println("--------------------------------------------------------");
out.println();
......@@ -248,7 +242,7 @@ public class Airline_Program_v2 {
out.println("--------------------------------");
}
} // End documentSwitch > Line 130
} // End documentSwitch > Line 124
public static void display(String board[][]) { // Displays board
......@@ -284,23 +278,6 @@ public class Airline_Program_v2 {
} // end for firstClass boolean > Line 236
private static void boardingSwitch() {
out.println("Name--|--Last--|--Ori--|--Dest--|--Seat Num--");
int size = boardName.size();
for(int i=0; i < size; i++) {
out.println(boardName.get(i) + "\t" +
boardLast.get(i) + "\t" +
boardOrigins.get(i) + "\t" +
boardDestination.get(i) + "\t" +
boardseatBook.get(i));
out.println("--------------------------------");
}
}
private static void managementRole() {
out.println("Name--|--Last--|--Ori--|--Dest--|--Seat Num--");
......@@ -318,7 +295,7 @@ public class Airline_Program_v2 {
}
} // end managementRoles
} // end managementRoles > Line 281
// Copy & Paste & other stuff NOT RELEVENT
......
Markdown is supported
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