Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

C PROJECT Airlines reservation system with a file database. The application will display an admin and passenger menu options at startup. The admin menu will

C PROJECT

Airlines reservation system with a file database. The application will display an admin and passenger menu options at startup. The admin menu will be accessible by entering a password. The admin menu will have options to add/edit/delete a flight, list available flights, list current bookings, to change admin password and to return to main menu. Each flight will have information about airlines, flight code, departure airport and destination airport, time of departure, time of arrival and passenger capacity. The list bookings option will display passenger names, seat numbers, and flight information as above. The change password menu will ask for the current password and if it is entered correctly, will ask for the new password twice. If the newly entered passwords match, it will be recorded in the database and the application will exit to the main menu. If the passwords do not match or if the current password is not entered correctly, the application will prompt the user and will return to the main menu. The passenger menu will have options to book a flight, cancel a booking, list booked flights for the passenger and to return to main menu. In order to book a flight, the passenger will provide destination airport and departure airport at which point the application will display available flights for that departure and destination points with their flight number, departure and arrival time. The passenger will select a flight from the list and then will be presented a screen to enter her/his name, id number, and enter seat number from a list of available seat numbers for that particular flight in order. The passenger will enter the required information one by one to finish the booking. The application will assign a booking id for the booked flight and will display it. The cancel booking menu will ask for a booking id and will delete it if it can find it in the database. If the item cannot be found, the passenger will be prompted with a message. The list bookings menu will ask for passenger name and id number and will display all the bookings for that particular passenger with their ids and flight information as above.

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

Concepts Of Database Management

Authors: Joy L. Starks, Philip J. Pratt, Mary Z. Last

9th Edition

1337093424, 978-1337093422

More Books

Students also viewed these Databases questions