Question: C++ plz Write a program that can be used to assign seats for a commercial airline. The airplane has 13 rows, with 6 seats in

 C++ plz Write a program that can be used to assign

C++ plz

Write a program that can be used to assign seats for a commercial airline. The airplane has 13 rows, with 6 seats in each row. Rows 1-4 are first-class seats, while rows 5-13 are economy seats Create a menu-driven program. Display a "map" of all of the seats on the airplane (display a star (*) to indicate the seat is available; display an X if the seat is occupied). Ask the user which class of ticket they are interested in first-class or economy) and to seledt specific seatls) they wish to reserve Either reserve the seat, or tell the user that the request could not be completed. You must create this program by writing the following functions: displayMap will display the current seating map of the entire airplane, makeReservation will let the user select the specific seatls) they wish to reserve, and validateFunction will make sure that aj the user is not trying to reserve seats that are already taken and b) the user's seat class choice is appropriate for the specific seats they've selected. Row 1 Row 2 Row 3 etc

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!