in this project you will write a program to handle ticket sales for an
In this project, you will write a program to handle ticket sales for an auditorium. A given
show will be performed on three days - Thursday, Friday and Saturday. There are three
seating areas - floor, balcony and upper balcony. There are 20 seats in each section (it's
a very small auditorium, only one row per section!) Floor seats sell for $30, balcony for
$20 and upper balcony for $10.
Your program will allow the cashier to enter requested seat purchases by desired day,
section and seat number. It will check if the seat is available and, if so, mark the seat as
sold. When requested, the program will be able to display a seating chart or a summary
of ticket sales.
Data for the seating availability will be stored in multidimensional arrays - either a single
three-dimensional array (ordered by day, section, seat number) or by three
two-dimensional arrays (each day's array ordered by section and seat number). The
array(s) should initially be set to show all seats available. As the cashier sells seats,
change the array element value to indicate that it's sold. You need to use hyphen ( - ) to
indicate available seats and asterisk (*) to indicate sold seats.
The cashier will enter seat requests with a three or four character code:
• First character is the day: T(t), F(f) or S(s)
Second character is the section: F(f), B(b) or U(u)
Third/fourth is the seat number: 1 through 20
*The amount will be in form of wallet points that you can redeem to pay upto 10% of the price for any assignment. **Use of solution provided by us for unfair practice like cheating will result in action from our end which may include permanent termination of the defaulter’s account.Disclaimer:The website contains certain images which are not owned by the company/ website. Such images are used for indicative purposes only and is a third-party content. All credits go to its rightful owner including its copyright owner. It is also clarified that the use of any photograph on the website including the use of any photograph of any educational institute/ university is not intended to suggest any association, relationship, or sponsorship whatsoever between the company and the said educational institute/ university. Any such use is for representative purposes only and all intellectual property rights belong to the respective owners.