GitHub repository: KhoiDinh/ReservationSystem
Primary language: C++
Description: Write a program that reserves seats for a theater, airline, etc. using a two-dimensional array. The program should start by asking for the number of rows and seats on each row and display the available seats. The rows are to be identified by a number starting at '1'. The seats on each row are to be identified by a letter, 'A', 'B', 'C', etc. For example, 3C, 4A and 2D are sample seat identifiers. Because the total number of rows and seats is unknown when the program first starts, it will be necessary for the program to dynamically allocate memory for the seating array and then release that memory when the program is ready to end. The program should ask the user to select row and seat. The program needs to verify and process only legal row and seat requests. If the seat is already reserved, the program should notify the user that the seat is taken. If the seat is available, the program should replace the seat identifier with a dash character '-'. The program should contain a loop to ask if additional seats are to be reserved. The program should also give a message when all the seats are taken.