Question: A 2D Array consists of four rows and six columns. Each row represents a student while each column represents a lab grade. Write the following
¢ Print the average grade for each student
¢ Print the average grade for each lab for all students
¢ Print the min grade for each student
Write the following function,
a) void mat Traspose (int A[][3], int T[][3], int rows), If the given matrix is denoted as A, its transpose denoted as AT, is formed by interchanging the rows and columns of A. That is, the ijth element of AT is the jith element of A.
.png)
Write a main function which asks the user for the numbers to be stored in the 2 arrays and prints the resulting array in tabular format on the screen (rows/cols)
1 2 31 1 4 7 A=14 5 61,AT=12 5 8
Step by Step Solution
3.38 Rating (173 Votes )
There are 3 Steps involved in it
import javautil class 2DMatrix public static void mainString ar... View full answer
Get step-by-step solutions from verified subject matter experts
Document Format (1 attachment)
1019-B-C-A-C-P-A(1645).docx
120 KBs Word File
