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