Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

::USING VISUAL STUDIO C#:: A small theatre wants a new reservation system for ti

ID: 3562370 • Letter: #

Question

::USING VISUAL STUDIO C#::

A small theatre wants a new reservation system for ticketing.

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 18. If the user 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. Initialize all the elements of the array to false to indicate that all the seats are empty. As each seat is assigned, set the corresponding element of the array to true to indicate that the seat is no longer available.

Your app should never assign a seat that has already been assigned. If the particular section is full, your app should advise that it is full and ask for another selection.

Explanation / Answer

#include <iostream>

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote