Question: Create a project named matrix. Use this project to write and run a Java program that performs the following: o Define a 2D array named
Create a project named "matrix". Use this project to write and run a Java program that performs the following: o Define a 2D array named numbers of integers with a dimension of 4Xs. o Prompts the user to read array elements o Find the average of each row elements N o Print the array element in a tabular format -> Organize the output to appear as shown in the sample output below Sample Output Reading array elements: 12 17 10 12 9 22 30 23 44 20 6 8 9 15 48 39 27 44 GO 80 Average of row 0. 12.00 Average of cow 127.80 Average of row 2 - 12.20 Average of row 350.00 Printing array in a tabular format 12 17 10 12 9 22 30 44 20 6 8 15 48 39 44 27 BO GO d
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
