Question: Write a Java program that computes the average of the values of a column in a twodimensional array. You should create a method with the
Write a Java program that computes the average of the values of a column in a twodimensional array. You should create a method with the following header: public static double averageRow(double[][] array, int column) Write a test program that reads a matrix from the user and a column index to calculate the average on. Print the result.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
