import java.io.*; import java.util.*; class train_reservation { static Date d=new Date(); static trainfare f=new trainfare(); public static void main() throws IOException { InputStreamReader isr=new InputStreamReader(System.in); BufferedReader x=new BufferedReader(isr); System.out.print(" ***********WELCOME TO TATANAGAR STATION***********"); System.out.println(); System.out.println(); System.out.println(" :MENU:"); System.out.println(" 1.TICKET RESERVATION"); System.out.println(" 2.PLATFORM TICKET"); System.out.println(" 3.CANCELLATION OF TICKET"); System.out.println(" 4.EXIT"); System.out.print(" ENTER YOUR CHOICE: " ); int ch=Integer.parseInt(x.readLine()); while(ch<4) { switch(ch) { case 1: System.out.println(); System.out.println(); System.out.print(" *********TRAIN TICKET RESERVATION COUNTER*********"); System.out.println(); System.out.println(); System.out.print("ENTER NUMBER OF PERSONS: "); int p=Integer.parseInt(x.readLine()); String people[]=new String[p]; int age[]=new int[p]; String gender[]=new String[p]; int reservationnum=0; int totalamount=0; for(int i=0;i