#Sales Offer!| Get upto 25% Off:

use c++ with arrays

can you create a program that assigns seats on an airplane. Assume the airplane has 30 seats in first class (5 rows of 6 seats each, separated by an aisle and 90 seats in economy class (15 rows of 6 seats each, separated by an aisle). Your program should display a menu: add passengers, show seating, delete reservation, and quit. When passengers are added, ask for the class (first or economy), the number of passengers traveling together (1 or 2 in first class; 1 to 3 in economy), the seating preference (aisle or window in either first class or in economy), and then their user id an arbitrary integer number). Then try to find a match and assign the seats (by storing the passenger id in the array) . If no match exists, print a message. If the passenger either choose show seating or delete reservation, then your program ask the user to enter its id, then program checks if the given id is in the array or not. If its found in the array, then the program do either delete reservation or show the seat. This continues until all seats are filled or until the user signals that the program should end.

i need it for an assignemts icant do it i need help plz

Found something interesting ?

• On-time delivery guarantee
• PhD-level professional writers
• Free Plagiarism Report

• 100% money-back guarantee
• Absolute Privacy & Confidentiality
• High Quality custom-written papers

Related Model Questions

Feel free to peruse our college and university model questions. If any our our assignment tasks interests you, click to place your order. Every paper is written by our professional essay writers from scratch to avoid plagiarism. We guarantee highest quality of work besides delivering your paper on time.

Grab your Discount!

25% Coupon Code: SAVE25
get 25% !!