.

Thursday 27 December 2012

Ruchi K

//************************************** // Name: RAILWAY RESERVATION // Description:YOU CAN BOOK,CANCEL,VIEW TICKETS HISTORY // By: SHASHANK SOLANKI // // Assumes: foremost DOWNLOAD JDK FILE AND BLUEJ TO USE THE APPLICATION // // Side Effects:NO `` // //************************************** DESCRIPTION : To Book / Cancel ticket, Display reservation chart, count passenger number, And exit. */ import java.io.*; general class reservation { InputStreamReader isr= sensitive InputStreamReader (System.in); BufferedReader br= sassy BufferedReader (isr); //System.out.print(Please enter a word); int pno[]=new int[275]; String name[]=new String[275]; String phno[]=new String[275]; int age[]=new int[275]; int cl[]=new int[275]; int pcount=0; int pnum=1; int max1=75; int max2=125; int max3=175; public keep off doMenu() throws Exception { int cho=0; do { System.out.println(\f); doHeading(); System.out.println(1.Book ticket); System.out.println(2.Cancel ticket); System.out.println(3.Search passenger); System.out.println(4.Reservation chart); System.out.println(5.Display unbooked tickets); System.out.println(6.Exit); System.out.println(Please enter your choice); cho=Integer.parseInt(br.
Ordercustompaper.com is a professional essay writing service at which you can buy essays on any topics and disciplines! All custom essays are written by professional writers!
readLine()); switch(cho) { eggshell 1:doBook(); break; subject area 2:doCancel(); break; character 3:doSearch(); break; case 4:doDispList(); break; case 5:doDispUnbooked(); break; case 6:doExit(); break; nonpayment :System.out.println(Invalid choice); } char e=(char)br.read(); }while(cho!=6); } private debauch doHeading()throws Exception { System.out.println(#########################################################); System.out.println(*********Railway Reservation For Kabul Express***********); System.out.println(#########################################################); } private void doBook()throws Exception { System.out.println(Please enter the class of ticket); System.out.println(1. AC\t 2. First\t 3. Sleeper\t); int... If you want to bring out a full essay, order it on our website: Ordercustompaper.com

If you want to get a full essay, wisit our page: write my paper

No comments:

Post a Comment