I have a text file that looks like this:
400 430 560
305 250 700
800 920 350
670 800 960
It's sorted into three arrays, each column is an array.
But I have to find the largest number, and this needs to be done by row. I'm confused :S
I know by using this code I can find the largest in one array:But then how do I change it so it goes through each number in each row?Code:int largeIndex = 0;
for(int i = 0; i < a1.length; i++){
if(a1[i] > a1[largeIndex]){
largeIndex = i;
}
}

