Lab11JavaAirlines.java - import java.util.Scanner public...

This preview shows page 1 - 2 out of 2 pages.

import java.util.Scanner; public class Lab11JavaAirlines { public static void main(String[] args) { Scanner input = new Scanner(System.in); System.out.println("Hello and Welcome to Java Airlines!\nWhat will be the flight schedule for today?\n"); //Make the three airplane flights Lab11AirplaneFlight flightOne = Lab11AirplaneFlight.createFlight(); System.out.println(); Lab11AirplaneFlight flightTwo = Lab11AirplaneFlight.createFlight(); System.out.println(); Lab11AirplaneFlight flightThree = Lab11AirplaneFlight.createFlight(); while (true){ System.out.println("\nMain Menu"); System.out.println("1. View Plane Flight"); System.out.println("2. Change Flight Information"); System.out.println("3. Exit"); System.out.print("\nInput: ");

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture