Question: In java Ask the user to enter the dimensions for 2 2d arrays, 2dArray1 and 2dArray2. randomly fill each 2d arrays with ints between 0-10.

In java

Ask the user to enter the dimensions for 2 2d arrays, 2dArray1 and 2dArray2. randomly fill each 2d arrays with ints between 0-10.

The user is allowed to choose 3 options (user input)

option 1. Find the standard deviation of all the elements in the first 2d array.

option 2. add both 2d arrays together and display the sum.

option 3. multiply both 2d arrays together and display the result

- be sure to check if the operation can be done based on the user inputted dimensions for 2dArray1 and 2dArray2.

- please incorporate OOP concepts into the solution and/or abstract classes

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!