Subash Chandran posted: "for (int row = 0; row < arr.length; row++)//Cycles through rows { for (int col = 0; col < arr[row].length; col++)//Cycles through columns { System.out.printf("%5d", arr[row][col]); //change the %5d to however much space you want "
|

No comments:
Post a Comment
Note: Only a member of this blog may post a comment.