for(j=1;j<=9;j++){ for(k=j;k<=9;k++){ m=j*k; System.out.print(j+"×"+k+"="+m+"\t"); } System.out.println(""); }