/打印 99 乘法表(双重循环。外循环对行,共9行,内循环对每行的打印内容,内循环打印的东西与外面的行数有关)*/ public class Test13 { public static void main(String[] args) { for (int i=1 ;i<= 9;i++) { for(int j =1 ;j<=i;j++) { System.out.print(j+"*"+i+"="+(i*j)); } System.out.println(); } } }