Commit 19d268dd authored by lucy.hemingway's avatar lucy.hemingway

added while loop- final submission

parent bcd591b3
...@@ -18,7 +18,7 @@ public class assessment { ...@@ -18,7 +18,7 @@ public class assessment {
Scanner userInputScanner = new Scanner(System.in); Scanner userInputScanner = new Scanner(System.in);
while(true) {
System.out.println( "Airline seat reservation - Customer details:"); System.out.println( "Airline seat reservation - Customer details:");
System.out.print(" First Name: "); System.out.print(" First Name: ");
...@@ -173,12 +173,12 @@ boardingpass.add("Flight No. :FL"+ flightnumber); ...@@ -173,12 +173,12 @@ boardingpass.add("Flight No. :FL"+ flightnumber);
System.out.print(boardingpass); System.out.print(boardingpass);
System.out.println();
} }
}
//method for showing the seating arrangement making it easier to access //method for showing the seating arrangement making it easier to access
......
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