public static void main (String[] args) {
int menu,i;
//String i;
Scanner keypad = new Scanner(System.in);
System.out.println("Select menu 1 or 2");
System.out.println("1.Hatyai to Chaingmai");
System.out.println("2.Chaingmai to Hatyai");
menu = keypad.nextInt();
switch (menu) {
case 1 :
Scanner b = new Scanner(System.in);
System.out.println("Select menu 1,2,or 3");
System.out.println("2.Class 1");
System.out.println("3.Class 2");
System.out.println("4.Class 3");
menu = b.nextInt();
switch (menu) {
case 1 :
System.out.println("Class 1 Special");
System.out.println("Select Ticket A1-A20");
for (i=1; i<=20;i++)
{
System.out.print("[A"+i+"]");
}
Scanner c = new Scanner(System.in);
int t = c.nextInt();
case 2 :
Scanner c = new Scanner(System.in);
System.out.println("Select menu 1,2 or 3 ");
System.out.println("2.Class 1");
System.out.println("3.Class 2");
System.out.println("4.Class 3");
menu = c.nextInt();
switch (menu) {
case 1 :
System.out.println("Class 1");
System.out.println("Select Ticket A1-A20");
for (i=1; i<=20;i++)
{
System.out.print("[A"+i+"]");
}
Scanner d = new Scanner(System.in);
int t = d.nextInt();