Question: just do option 2,3,4,5 using 2 dimesional array to edit the file.please don't use classes.I will give you good rating.Thanks The aim of this project


just do option 2,3,4,5 using 2 dimesional array to edit the file.please don't use classes.I will give you good rating.Thanks
The aim of this project is to implement a seat reservation system for a passenger airplane. We assume a small airplane with 10 rows and 4 seats per row. We assume that the seat chart is initially stored in a file "chartIn.txt" in the following format: A B C D 2 A B C D 3 A B C D 4 A BC D 5 ABC D 6 A B C D 7 A BC D 8 A BC D 9 A BC D 10 A B C D The example given above means that seats IA. IB, IC, ID. 2A, 2B 2C, 2D, 3A, are all available. Note that the number 1, 2, 3 also belong to the file. Below is another example of data stored in the file "chartIn.txt A X C D 2 A BC D 3 A B C D 4 A B C D 6 AB C D 7 A BC D 8 A BC D 10A X X D This second example demonstrates that the following seats marked with 'X' are reserved: 1B, 5B, 9C, 10B, 10C. The program must use a function to initially read the seat chart from the file "chartIn.txt" and fill out a 2-dimentional array called seatChart. The main program then calls a function to display the following menu
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
