Question: Need help with this question; to be done in JAVA AP COMPUTER SCIENCE A EXTRA PRACTICE FOR 2D ARRAYS For this set of problems, you


Need help with this question; to be done in JAVA
AP COMPUTER SCIENCE A EXTRA PRACTICE FOR 2D ARRAYS For this set of problems, you will have the freedom to show evidence of your planning in any way you see fit. We have already covered pseudocode, flowcharts, and truth tables as common methods for planning code prior to writing code. For each of these exercises, develop a plan BEFORE you begin coding. Once you begin coding, be sure to comment your code. You may need to implement multiple methods. If you choose to write pseudocode, you may use the lines of pseudocode as the comments for your code to show how it was translated. 2. A theater seating chart is implemented as a two-dimensional array of ticket prices, like this: 1 2 3 4 5 6 7 8 9 10 J 10 10 10 10 10 10 10 10 10 10 H 10 10 10 10 10 10 10 10 10 10 G 10 10 10 10 10 10 10 10 10 10 F 10 10 20 20 20 20 20 20 10 10 E 10 10 20 20 20 20 20 20 10 10 D 10 10 20 20 20 20 20 20 10 10 C 20 20 30 30 40 40 30 30 20 20 B 20 30 30 40 50 50 40 30 30 20 A 30 40 50 50 50 50 50 50 40 30 Write a program that prompts users to pick either a seat (formatted by row #, then seat #, e.g. A 5) or a price. Mark sold seats by changing the price to 0. When a user specifies a seat, make sure it is available. When a user specifies a price, find any seat with that price. Reprint the chart with the updated selection and ask the user if they would like another seat. Continue to sell seats until it is sold out or the user chooses to end/exit the program (provide an appropriate sentinel)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
