Question: In this project, you are asked to develop a point of sale and reservation system for Chaffey College s new Airline. The system keeps track
In this project, you are asked to develop a point of sale and reservation system for Chaffey Colleges new Airline. The system keeps track of the information in a D listarray and gives the reservation attendant options
make a new first class reservation
a Only seats are available at $
Make a new coach class reservation a
a Only seats are available at $
change an existing reservation
print the listing of seats
quit
In the print option, the system will print in an orderly manner all the seats available in each compartment and the list of seats that are taken with the individual that has reserved the seat. If all seats are taken a message is displayed stating, no new reservations can be made. If the persons name is longer than characters you will only display the first characters. Note: the entire name should be in the array, you only to reduce the length of text during the print function for neatness.If the reservation attendant picks first class or coach reservation, heshe should then enter the location of the desired seat & the name of the person taking the flight. If not available, it will be refused However, if a seat is available, the program calculates the cost for each item plus the amount of sales tax, and asks for that amount to be provided. The fare for Chaffey Airlines is calculated as $for first class and $ for coach class. If the passenger is under or or older, they get a discount. If the user doesnt have enough money, heshe is not booked a ticket. If the user does provide an amount equal to or greater than the required amount the user is ticketed and provided the change amount if applicable.The program then takes amount of change to be rendered and computes the denominations $ bills, $ bills, $ bills, $ bills, quarters, dimes, nickels, and pennies for the attendant. The following is example of such a program output: add $ bill In the next print you should see the reservation made: If the attendant selects change reservation option, heshe should be prompted for what seat to change, the seat is set to open, and the attendant can rebook the person to a different seat. There are no refunds at Chaffey Airlines.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
