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

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 19:50
Which feature is selected to practice and save the timing of a presentation
Answers: 1
question
Computers and Technology, 24.06.2019 01:30
How can you make your column headings stand out?
Answers: 1
question
Computers and Technology, 24.06.2019 10:00
(, urgent need): how do i change my username
Answers: 1
question
Computers and Technology, 24.06.2019 11:00
Which of the statements below describe the guidelines for the use of text in presentation programs? a. do not use numbered lists. b. fonts should be appropriate for your audience. c. limit the number of fonts you use to three or four. d. only use bulleted lists for sales promotions. e. select font sizes that are appropriate for your delivery method. f. use font colors that work well with your background. select all that apply
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, 25.11.2020 20:20
question
Mathematics, 25.11.2020 20:20
question
Mathematics, 25.11.2020 20:20
question
Mathematics, 25.11.2020 20:20
question
Mathematics, 25.11.2020 20:20
question
Mathematics, 25.11.2020 20:20
Questions on the website: 13722359