a)Prepare and call a function that can display all seat setting in main theatre that has 48 seat organize in 6 rows and 8 column as shown below.

b)Use array and looping command ‘for’ to display all seat setting and ‘1’ represent a seat is booked and ‘0’ represent a seat is available.

c)Prepare and call another function to count the seat and display the amount of available seat.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.