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

Airline Reservation

parent ff5b6713
import java.util.Scanner; //import scanner import java.util.Scanner; //import scanner
import java.util.Random; //I don't know the requirements for generating a flight code, so I will generate one randomly import java.util.Random; //I don't know the requirements for generating a flight code, so I will generate one randomly
import java.util.Arrays;
import java.util.List;
public class airline { public class airline {
static String plane[][] = {{"01", "02", "03"}, {"04", "05", "06"}, {"07", "08", "09"}, // set plane as global variable static String plane[][] = {{"01", "02", "03"}, {"04", "05", "06"}, {"07", "08", "09"}, // set plane as global variable
{"10", "11", "12"}, {"13", "14", "15"}, {"16", "17", "18"}, {"10", "11", "12"}, {"13", "14", "15"}, {"16", "17", "18"},
......
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