UNB/ CS/ David Bremner/ teaching/ java/ arrayprint1.java
for (int i=0; i<10; i++) {
    for (int j=0; j<grid[i].length; j++) {
        if (j>0)
            System.out.print(" ");
        System.out.print(grid[i][j]);
    }
    System.out.println();
}
//