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: 3

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 17:30
Think about the poem "old ironsides." drag the subject of the poem to the subject box and the theme to the theme box. then decide whether each excerpt from the poem supports the subject or the theme.
Answers: 3
question
Computers and Technology, 21.06.2019 23:10
Write a method that accepts a string object as an argument and returns the number of words it contains. for instance, if the argument is "four score and seven years ago", the method should return the number 6. demonstrate the method in a program that asks the user to input a string and then passes that string into the method, printing out whatever the method returns.
Answers: 3
question
Computers and Technology, 24.06.2019 11:30
Convert 11001110(acdd notation) into decimal
Answers: 2
question
Computers and Technology, 24.06.2019 15:30
What is the function of compilers and interpreters? how does a compiler differ from an interpreter?
Answers: 2
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
History, 03.02.2021 01:10
question
Mathematics, 03.02.2021 01:10
question
Mathematics, 03.02.2021 01:10
question
Mathematics, 03.02.2021 01:10
question
Mathematics, 03.02.2021 01:10
Questions on the website: 13722360