for(int m = 1;m < 10; m++) { for(int m = 1; m <= 9; m++) { if(n >= m) { System.out.print(m + " * " + n + " = " +( n * m )+ " "); } } System.out.println(); }
九九乘法表
原文:http://www.cnblogs.com/zhuxiaolin/p/4870064.html