I am getting difficulty to work out this question,can someone work out this program for me.
Write a program that organise reservation for a show with the show hall having 5
rows of seats and 9 seats per row. The rows are numbered from ā€˜Aā€™ to ā€˜Eā€™ (back to
front) and the seats from 1 to 9 in each row. The user should be presented with a
seat plan (showing available seats and bookings made) from which a number of
seats can be booked.
Example:
1 2 3 4 5 6 7 8 9
A: - - - - - - - - -
B: - - - - - - - - -
C: - - - - - - - - -
D: - - - - - - - - -
E: - - - - - - - - -
SCREEN
In which row do you want seat? A
How many seats? 2
Starting at which number? 4
2 seats reserved in row A
1 2 3 4 5 6 7 8 9
A: - - - R R - - - -
B: - - - - - - - - -
C: - - - - - - - - -
D: - - - - - - - - -
E: - - - - - - - - -
SCREEN
In which row do you want seat? A
How many seats? 5
Starting at which number? 5
PROBLEM: A5 is already reserved
In which row do you want seats? Q
PROG1114 ! Assignment
University of Technology, Mauritius
Year 2016/2017 Semester 1
2
Store the data in a two-dimensional array of characters. Initially all the elements of
the array contain the character - , to indicate that the seats are available. When a
reservation is made, the program must determine if the requested sears are
available and if they are, it must reserve them. A reservation is made, by assigning
the character R to the elements in questions. If any of the requested seats is already
reserved (or the requested seats falls outside the seat plan), the entire reservation
must be rejected with an appropriate message. The user must enter Q (for the row)
to quit the program.

Verbatim copy/paste of homework doesn't fly here. Post a precise question when you're actually stuck."Stuck" means you've done everything you can do so far, which you'll post along with the question to show you've put in effort. No one gets an assignment like this off the bat, so you should be able to do at least some of it.