Last week, we had the author of TDD for a Shopping Website LiveProject. Friday at 11am Ranch time, Steven Solomon will be hosting a live TDD session just for us. See for the agenda and registration link
Hello Everyone, I want to write a program in Java using Arrays.
Write a program to get the maximum number in each row of a 6*4 matrix and also addition of the maximum numbers.
But we should write it without using any inbuilt methods such as collections or any other methods.
for example ....
{ 22 13 9 15 85 56 }
{ 12 14 66 23 35 74}
{ 36 52 25 19 28 45 }
{ 17 26 6 20 35 78 }
Well that seems to work. Now you have got it for one array, work out how you would do it for several arrays. You would obviously do something similar several times.
Please space your code a bit; look at these suggestions. Don't use n in a for loop; use myArray.length.