Question;A small theatre wants a new reservation system for ticketing. You?re to write theapplication to assign seats for reserving seats at a performance.The application should display the following alternatives: Please type 1 for Box Seats, Please type 2 for Front Row Seating and Please type 3 for other Floor Seating. If the user types 1, your app should assign a seat in seats 1?8. If theuser types 2, your app should assign a seat in seats 9-28. If the user types 3, your app should assign a seat in seats 29-58.Use a one-dimensional array of type bool to represent the seating chart of the theatre. Initializeall the elements of the array to false to indicate that all the seats are empty. As each seat isassigned, set the corresponding element of the array to true to indicate that the seat is no longeravailable.Your app should never assign a seat that has already been assigned. If the particular sectionis full, your app should advise that it is full and ask for another selection.
Paper#36618 | Written in 18-Jul-2015Price : $32