Commit fd747a5a authored by charlie.hamer's avatar charlie.hamer

Final 2

parent 4cdacb64
......@@ -81,6 +81,7 @@ public class airline {
}
if(available == true) { //if seats are available
System.out.println("Would you like to choose a seat?(y/n)");
while(true) {
String chooseseat = input.next();
switch(chooseseat) {
case "n":
......@@ -92,7 +93,7 @@ public class airline {
return;
default:
System.out.println("Please pick y or n");//making sure they make a choice
}
}
}
else
......
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