Question: I am needing this question answered in Java programming language. So far I have wrote for(int i = 0; i int max = (int j=0;

 I am needing this question answered in Java programming language. So
I am needing this question answered in Java programming language. So far I have wrote
for(int i = 0; i
int max = (int j=0; j
if (max
max = two_d_are[i][j];
}
}
System.out.println("Maximun number is " * max);
But when I when I run this it is giving me the max of each individual line.
Any ideas?
Find the largest number from the following 2d array: int[] [] two_d_arr = { {1, 2, 3, 4}, {5, 6, 7, 8}, {9, 10} The max number is: 10

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!