Write the following program that stores and display theater seat prices. in this program demonstrates how to pass a 3-dimensional array to a function and the data must read in from a file. In this program allows you fill the seatTable [ ] [ ] [ ] array with the apprriate prices (cost) for each seat in the theater:
a) Assume that section _1 seats are in front of the stage, and the price is expensive. say, each seat in the 1st three rows is $180.00, and each seat in the last two rows is 10% less;
b) Assume that section _2 seats are in middle of the theater, and the price of each 20% less than than the seat prices in section _1, last two rows;
c) Assume that section _3 seat are at the end of the theater, and the price of each seat is 20% less than the seat prices in section_2.
Moreover
your program must also compute
i The total amount collected per each row, and this amount right at the end of each row,
j The total amount to be callected per each section, and displays it at the end of each section,
k And finally compute compute the total amount to be collected for the whole theater and displays it at the end of the report