Question: Really need some help. Been falling behind in class, teacher goes extremely quickly. This is just some array with methods but I'm a bit lost.
Really need some help. Been falling behind in class, teacher goes extremely quickly. This is just some array with methods but I'm a bit lost.
0 - ZOOM + T T // TODO: fully comment a la Homework.java public class PracticeExam { public static void main(String[] args) { int[][] data = { { 0, 1, 2, 3, 4, 5, 6 }, { 0, 1, 2, 3, 4, 5, 6}, { 0, 1, 2, 3, 4, 5, 6 }, { 0, 1, 2, 3, 4, 5, 6}, { 0, 1, 2, 3, 4, 5, 6 ], { 0, 1, 2, 3, 4, 5, 6 }, 2, 3, 4, 5, 6 }, 1 o, 1, 2, 3, 4, 5, 6 } }; // input: TODO prompt the user for // 1) a row number 1/ 2) a column number // processing: TODO implment the methods below int rowSum = sumRow(rowNum, data); int colSum = sumColumn(colNum, data); double all = overal Laverage (data); // output: TODO display the three answers // using a method named displayResults
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
