Computer Project Cxlass 11 Icse

Topics: Travel class, British Airways, Air travel Pages: 21 (5155 words) Published: April 15, 2013
class ADCtours_travels
public static void main(String args[])throws IOException
BufferedReader I=new BufferedReader(new InputStreamReader(; System.out.println("Welcome to ADC Tours & Travels. We promise you the best transport facilities more comfortable n @ best prices. Cargo facilities available. How can we help you?"); System.out.println("Choose from the following options");

System.out.println("Press (1) for Air Ticketing");
System.out.println("Press (2) for International Cruising"); System.out.println("Press (3) for Railway Tickcets");
System.out.println("Press (4) for Roadways/Bus Tickets");
System.out.println("Press (5) for Cargo Facilities");

int ch1=Integer.parseInt(I.readLine());
System.out.println("Welcome to Airline Services. We Provide best flights and deals from Delhi and Mumbai to many cities Domestic as well as International"); System.out.println("Please enter the following details"); System.out.println("You would be leaving from?");

System.out.println("Press (1) for New Delhi");
System.out.println("Press (2) for Mumbai");
int ch2=Integer.parseInt(I.readLine());
System.out.println("Enter the departure date<DD-MM-YY>"); String D=I.readLine();
System.out.println("Your place of departure is New Delhi"); System.out.println("Kindly select the type of flight"); System.out.println("Press (1) for Domestic or Press (2) for International Flights"); int ch3=Integer.parseInt(I.readLine());

String Dep1="New Delhi";
System.out.println("Please select from the given list which place are you flying to."); System.out.println("Press (1) for Ahmedabad");
System.out.println("Press (2) for Bangalore");
System.out.println("Press (3) for Chennai");
System.out.println("Press (4) for Dehradun");
System.out.println("Press (5) for Kolkata");
System.out.println("Press (6) for Mumbai");
System.out.println("Press (7) for New Delhi");
System.out.println("Press (0) to return to main menu"); int ch4=Integer.parseInt(I.readLine());
String arriv1="Ahmedabad";
System.out.println("New Delhi to Ahmedabad Air Travel Distance = 777.11 Km"); System.out.println("Press (1) for Economy class");
System.out.println("Press (2) for Business class");
int ch5=Integer.parseInt(I.readLine());
System.out.println("*New Delhi to Ahmedabad Economy class*"); System.out.println("Airfares from different airlines are listed below"); System.out.println(" Airline\t\tDeparture\tArrival\t\tAirfare"); System.out.println("1.Spicejet"+"\t"+"17:05"+"\t\t"+"18:35"+"\t\t"+"Rs.6677"); System.out.println("2.GoAir"+"\t\t"+"7:10"+"\t\t"+"8:40"+"\t\t"+"Rs.6677"); System.out.println("3.JetKonnect"+"\t"+"12:10"+"\t\t"+"13:35"+"\t\t"+"Rs.6689"); System.out.println("4.AirIndia"+"\t"+"18:10"+"\t\t"+"19:35"+"\t\t"+"Rs.6867"); System.out.println("Enter Your Choice of flight or Press (0) to return to main menu"); int ch6=Integer.parseInt(I.readLine());

System.out.println("Enter Number of Tickets you want to purchase."); int nt=Integer.parseInt(I.readLine());
System.out.println("Airline\t\tDeparture\tArrival\t\tAirfare\t\tTickets"); System.out.println("Spicejet"+"\t"+"17:05"+"\t\t"+"18:35"+"\t\t"+"Rs.6677"+"\t\t"+nt); System.out.println("Net Bill = Rs."+(6677*nt));

else if(ch6==2)
System.out.println("Enter Number of Tickets you want to purchase."); int nt=Integer.parseInt(I.readLine());
System.out.println("Airline\t\tDeparture\tArrival\t\tAirfare\t\tTickets"); System.out.println("Go...
Continue Reading

Please join StudyMode to read the full document

You May Also Find These Documents Helpful

  • Icse Project Essay
  • computer Essay
  • Computer project Essay
  • SIWES Project in Computer Science Essay
  • project Essay
  • Grade 11 Lo Project Essay
  • ICSE 2014 maths project material Essay
  • Computer Forensics Analysis Project Essay

Become a StudyMode Member

Sign Up - It's Free