Airline Reservation

Download Category:

Airline - (5.5 MB)
Airline Reservation/Airline Reservation.sdf
Airline Reservation/Airline Reservation.sln
Airline Reservation/Airline Reservation.suo
Airline Reservation/Airline Reservation.vcxproj
Airline Reservation/Airline Reservation.vcxproj.filters
Airline Reservation/Airline Reservation.vcxproj.user
Airline Reservation/AirlineReservation_CPP.cpp
Airline Reservation/Debug/
Airline Reservation/Debug/Airline Reservation.exe
Airline Reservation/Debug/Airline Reservation.exe.embed.manifest
Airline Reservation/Debug/Airline Reservation.exe.embed.manifest.res
Airline Reservation/Debug/Airline Reservation.exe.intermediate.manifest
Airline Reservation/Debug/Airline Reservation.lastbuildstate
Airline Reservation/Debug/Airline Reservation.log
Airline Reservation/Debug/Airline Reservation.pdb
Airline Reservation/Debug/Airline Reservation.vcxprojResolveAssemblyReference.cache
Airline Reservation/Debug/Airline Reservation.write.1.tlog
Airline Reservation/Debug/Airline Reservation_manifest.rc
Airline Reservation/Debug/AirlineReservation_CPP.obj
Airline Reservation/Debug/cl.command.1.tlog
Airline Reservation/Debug/
Airline Reservation/Debug/CL.write.1.tlog
Airline Reservation/Debug/link.command.1.tlog
Airline Reservation/Debug/
Airline Reservation/Debug/link.write.1.tlog
Airline Reservation/Debug/mt.command.1.tlog
Airline Reservation/Debug/
Airline Reservation/Debug/mt.write.1.tlog
Airline Reservation/Debug/rc.command.1.tlog
Airline Reservation/Debug/
Airline Reservation/Debug/rc.write.1.tlog
Airline Reservation/Debug/vc100.idb
Airline Reservation/Debug/vc100.pdb
Airline Reservation/ipch/
Airline Reservation/ipch/airline reservation-d5a3a4da/
Airline Reservation/ipch/airline reservation-d5a3a4da/airline reservation-4ac5d562.ipch
Airline Reservation/Question.txt
Airline Reservation/Screenshot_1.png

Airline Reservation

This program will allow the user to keep track of airline reservations. The program should display
the seating chart for the airplane. It will use an *to indicate a seat is taken and # to indicate the
seat is available. The program will also display a menu which provides the user with several options.
There will be two types of seats in the airplane: first class and coach, each of which will have a different cost.

The program must make use of files, arrays and functions.

The airplane will have 5 rows in the first class section with 4 seats in each row, 2 on each side of
the aisle and 10 rows in the coach section with 3 seats on each side of the aisle. The prices for all
the 1st class seats will be the same. The first 5 rows of the coach will be more expensive than the last
5 rows. The prices for the seats will be stored in a file called SeatPrices.txt. The program should read
these values from the file and store the values in an array of doubles.

The menu will provide choices to reserve a seat(s) and display the total number of seats sold (indicating
first class and coach), the total number of seats empty in a row, the total number of seats empty in the
plane (indicating first class and coach), and the total amount of sales, in dollars.

Validation: The seat requested by the user is a valid row and seat number. The program should also make sure
that the seat is not already taken.

The program does not need to keep track of which seats were open/taken after closing – every time the program
runs, all the seats start as empty.

Write a Review

Get a fresh solution of this question. Ask it now to our experts.

Ask Your Question

We have verified professionals who are ready to answer your question.


Save Time and Money

We choose experts who can quickly answer your question and that suit your budget.


Get Your Answer

Your satisfaction is 100% guaranteed. You can keep on asking questions until you get the answer you need.