for (int i = 1; i < 10; i++) { for (int j = 1; j <=i; j++) { int s=j*i; System.out.print("\t"+j+"*"+i+"="+s); } System.out.println(); }