Question: Java please 14.6 Prog6: find row and col Avg (2Darray) Write a program that prompts for an integer N, and allows the user to N*N

Java please

Java please 14.6 Prog6: find row and col Avg (2Darray) Write aprogram that prompts for an integer N, and allows the user to

14.6 Prog6: find row and col Avg (2Darray) Write a program that prompts for an integer N, and allows the user to N*N real numbers. The program then calculates and output the average for each row and column. (1) Prompt the user to input integer N, and N*N real numbers, then display the entered numbers (4 points). Enter an integer: You entered: 3 Enter 9 real number (one row at time): You entered: 85.3 74.1 93.1 87.4 9.55 18.2 98.5 88.9 27.6 (2) Calculate and output row averages (3 pts) The row average are: 86.1 89.8 18.45 (3) Calculate and output column averages (3 pts) The column average are: 65.65 60.0 71.6666667 LAB ACTIVITY 14.6.1: Prog6: find row and col Avg (2Darray) 0 / 10 Prog6_Row_Col_Average_2DArrays.java Load default template... /* This program is to input N by Narrays, then find averages for each row and each column Humano */ import java.util.*; public class Prog6_row_col_Average_2DArray public static void main( String [] args ) { // type your code here

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!