Question: Java please 1) Write a program to: 2) Save the following menu to a string var named menu: [0] Quit [1] Generate a random 2D

Java please

1) Write a program to:

2) Save the following menu to a string var named menu:

[0] Quit

[1] Generate a random 2D array of a specified size and limits

[2] Display the 2D array on the screen

[3] Count and return the frequency of a value in the 2D array

[4] Compute and return summation of the 2D array

[5] Compute and return the average of the 2D array

[6] Replace a certain number with another in the 2D array

[7] Compute and return the average of a column in the 2D array

[8] Compute and return the average of a row in the 2D array

3) Use while-loop, loop until user chooses to quit

4) Display the menu

5) Ask the user to select on option

6) Use switch statement to

7) Ask the use for the input based on the case

8) Execute the right operation based on the users option

9) Display the result of operation

10) Repeat

11) MUST implement each case as a separate method

12) Test all options and screen capture the output

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!