int[][] array = new int[][] {{1,2,3,4,5,6,7,8,9},{1,2,3,4,5,6,7,8,9}};
for (int i = 0; i<array[0].length; i++) {
for (int j = 0; j <= i; j++) {
System.out.print(array[0][i]+ "*" +array[1][j] + "=" + (array[0][i]*array[1][j])+" ");
}
}
System.out.println();