Distance+Program

import   java.util.Scanner; import   java.io.*; import   javax.swing.*; public      class    Distances {   static  Scanner inKb =  new  Scanner(System.in); static String[] arrEntries =  new  String[12]; public  static   void  main(String[] args)  throws  Exception{ arrEntries[0] = "12,15:02h00"  ; arrEntries[1] = "13,10:05h00"  ; arrEntries[2] = "9,20:06h00"  ; arrEntries[3] = "10,15:09h00"  ; arrEntries[4] = "7,8:10h00"  ; arrEntries[5] = "10,10:11h00"  ; arrEntries[6] = "12,18:14h00"  ; arrEntries[7] = "7,18:17h00"  ; arrEntries[8] = "11,7:19h00"  ; arrEntries[9] = "10,10:20h00"  ; arrEntries[10] = "2,1:23h00"  ; arrEntries[11] = "12,17:24h00"  ; Scanner input = new  Scanner(System.in); char ch =  ' '  ; while (ch !=  'Q'  ) { System.out.println; System.out.println( " Menu"  ); System.out.println( " "  ); System.out.println( " Option A"  ); System.out.println( " Option B"  ); System.out.println( " "  ); System.out.println( " Q - QUIT"  ); System.out.println( " "  ); System.out.print( " Your choice? "  ); ch = input.nextLine.toUpperCase.charAt(0); switch (ch){  case   'A'  : { // option A source goes here. }   break  ; case  'B'  :{  // option B source goes here. }   case   'Q'  :{System.exit(0); } // case } // switch } // while } }