// Page 133 - 134 public class Prog_10_12a { public static void main(String[] args) { int[][] table3 = new int[3][3]; int m, n; for(m=0; m<3; m++) for(n=0; n<3; n++) table3[m][n] = m - n + 1; Output(table3); } private static void Output(int[][] table) { for (int row=0; row<3; row ++) { for (int col=0; col<3; col ++) System.out.print(table[row][col] + " "); System.out.println(); } } }