Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Complex Engineering Problem You are required to develop a python code for Pakistan International Airlines (PLA) for flight reservation. Code must be user-friendly and will

image text in transcribed
Complex Engineering Problem You are required to develop a python code for Pakistan International Airlines (PLA) for flight reservation. Code must be user-friendly and will cover all the aspects of basic reservation system Objectives Your code must show the following interface: 1. List of Flights: (Should show all the flights that PA offers ) 2. Flight Information (Time of departure Domestic/international, Flight duration, City of Arrival and departure) 3. Book Flight (Name of traveler, Phone number, Email, Time of departure Domestic/International, Flight duration, City of Arrival and departure, Booking number). Once the flight is confirmed, all the information is saved on a text file, which the passenger may consider as a ticket 4. Cancel Flight (Cancel flight against booking number if present) 5. View Booking Details (View all details of booked light against booking number) 6. Search flight 7. search booking/ticket 8. Create a trip: User can create a trip, means having a series of intermediate destinations He may add or delete a destination so the cost will vary accordingly 9. Cancel trip: Depends upon the rules of flight cancellation Assumptions: 1. Each aircraft of PIA has capacity of 200 passengers Business class-10 seats H.A class-20 seats Economy class-170 2. Rate: Rs. 15/Km for Economy Class Rs. 25/Km for A class Rs 35/Km for Business class 3. Child fare(under 12 years)s 75% of the total fare 4. if someone wants to book ticket still after 100 bookings, he/she may be assigned reserved seat. If someone cancel the booking the extra reservation would be adjusted in priority-wise, otherwise he may be assigned a confirm seat in the next available flight 5. Cancellation of flight L100% refund if cancellation is done 72 hours prior to the flight 75% refund if cancellation is done 48 hours prior to the flight IV 50% refund if cancellation is done 24 hours prior to the flight 25% refund if cancellation is done 12 hours prior to the flight No refund if cancellation is done less than 12 hrs of departures V

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions