Page 1 of 1

2. (50 points) Write a program for a seat reservation. Due to the pandemic, the movie theater is having to block seats f

Posted: Thu Jul 14, 2022 2:18 pm
by answerhappygod
2 50 Points Write A Program For A Seat Reservation Due To The Pandemic The Movie Theater Is Having To Block Seats F 1
2 50 Points Write A Program For A Seat Reservation Due To The Pandemic The Movie Theater Is Having To Block Seats F 1 (275.41 KiB) Viewed 27 times
2. (50 points) Write a program for a seat reservation. Due to the pandemic, the movie theater is having to block seats from being purchased to follow social distancing guidelines. Assume the theater has one screen and has 10 rows of seats with 8 seats per row. The program should display a screen that shows which seats are available, taken, or blocked for social distancing. For example, the following screen shows a chart depicting each seat in the theater. Seats that are available are represented by an * symbol, and seats that are taken are represented by a # symbol, and the seats that are blocked are represented by an X. (For example, after the custom chooses Row 3 seats 4,5,6, the around seats are blocked) a) Display a seating chart similar to the one above to the user. (Your seating chart should initially display with all available seats). b) The user enters the number of tickets first. Then the user enters the row and seat numbers. (Hint: Once the user enters all seats, seats those to the front and behind the seats the user chooses need to be blocked off.) c) Test all possible scenarios and take screenshots.