subject

C++ Can someone please please please help me write this code? The lab is due tonight and it just makes no sense! Thank you so much

Airline Reservation System Write a program that uses two 10 element single dimension char Arrays to represent the seats of a small plane. One array will represent the seats on the left side of the plane, seats A. The other array will represent the seats on the right side of the plane, seats B. The arrays should be created at the start of the program in main. You will be required to pass the arrays to the other functions. The main function should provide the available options (a main menu) which include adding a new reservation, seeing a visual seating chart of available seats, or resetting the reservation system. Each operation should be run in a separate function. You should determine how the menu system should look so that it is clear and user friendly. After each operation of the reservation system is run, the main menu should be displayed again. Remember, the main function controls program flow, it does not perform any of the operations. Resetting the Reservation System This method should initialize both arrays to β€˜O’ to indicate that the seats are available. This method should run when the program first starts and it should be included in the menu so the user has the option to clear all reservations. Adding a new reservation: When adding a new reservation, this system should ask if the seat should be assigned in First Class or Coach. The first 3 rows are first class and rows 4 – 10 are Coach. The system should then locate an available seat in the desired section and assign an β€˜X’ to the array and output where the seat was assigned. The system should make sure the seat is not already assigned before assigning the seat. The user does NOT select the seat. Once a seat has been assigned, the seating assignment should be displayed. Seat assigned on Row 2 Seat A If no seats are available in the desired section, indicate that there are no available seats.

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 23:30
Jaina and tomas are being considered as new tenants in an apartment. the landlord looks at their creditworthiness because he wants to be sure his new tenant pays the rent on time and in full. the table below summarizes the information that was on their applications. application information questions jaina tomas how many years have you had your job? 5 2 what is your monthly salary? $1,850 $2,500 how many credit cards do you have? 4 1 how much debt do you have? $13,000 $7,000 how many times were you late with payments on credit cards in the past year? 5 1 who will the landlord decide to be more creditworthy and why? tomas because the ratio of his debt to income is less. jaina because she has had her job longer, which makes her look more stable. jaina because she has more credit cards available to her. tomas because he makes more money per month.
Answers: 2
question
Computers and Technology, 23.06.2019 11:30
Auser is given read permission to a file stored on an ntfs-formatted volume. the file is then copied to a folder on the same ntfs-formatted volume where the user has been given full control permission for that folder. when the user logs on to the computer holding the file and accesses its new location via a drive letter, what is the user's effective permission to the file? a. read b. full control c. no access d. modify e. none of the above
Answers: 1
question
Computers and Technology, 23.06.2019 12:40
Curriculum exam to process a resident's payment, you must click on onesite payments home page. from the a. reports b. my settings o c.transactions o d. rent tab
Answers: 1
question
Computers and Technology, 23.06.2019 18:00
Freya realizes she does not have enough in her bank account to use the debit card. she decides to use a credit card instead. which questions should freya answer before using a credit card? check all that apply. can i pay at least the minimum payment each month? can i make payments on time and avoid late fees? will i have to take out a loan? how much in finance charges can i afford to pay? should i talk to a consumer credit counseling service?
Answers: 1
You know the right answer?
C++ Can someone please please please help me write this code? The lab is due tonight and it just m...
Questions
question
Mathematics, 01.07.2019 05:30
question
Mathematics, 01.07.2019 05:30
question
Mathematics, 01.07.2019 05:30
Questions on the website: 13722360