Computers and Technology

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.

answer
Answers: 1

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 03:10, victoriadorvilu
This program reads a file called 'test. txt'. you are required to write two functions that build a wordlist out of all of the words found in the file and print all of the unique words found in the file. remove punctuations using 'string. punctuation' and 'strip()' before adding words to the wordlist. write a function build_wordlist() that takes a 'file pointer' as an argument and reads the contents, builds the wordlist after removing punctuations, and then returns the wordlist. another function find_unique() will take this wordlist as a parameter and return another wordlist comprising of all unique words found in the wordlist. example: contents of 'test. txt': test file another line in the test file output: ['another', 'file', 'in', 'line', 'test', 'the']
Answers: 1
image
Computers and Technology, 22.06.2019 20:00, jayjay5246
What is the term for water wave that is created by an underwater earthquake
Answers: 1
image
Computers and Technology, 23.06.2019 14:30, naomi20044
Select the correct answer. andy received a potentially infected email that was advertising products. andy is at risk of which type of security threat? a. spoofing b. sniffing c. spamming d. phishing e. typo-squatting
Answers: 2
image
Computers and Technology, 23.06.2019 15:30, taapeters
Brian wants to conduct an online search with a certain phrase. he intends to use the words books that belong to the 1800s in his search. how should he use the word that in his search?
Answers: 1
Do you know the correct answer?
C++ Can someone please please please help me write this code? The lab is due tonight and it just m...

Questions in other subjects: