java,for穷举,99乘法表


public class t8 {

 public static void main(String[] args) {
 //输出99乘法表
 for(int m=1;m<=9;m++)
 {
  for(int n=1;n<=m;n++)
  {
   System.out.print(m+"*"+n+"="+(m*n)+"\t");
  }
  System.out.println();
 }
 }

}

posted @ 2016-02-26 10:18  什么玩楞啊,我叫旺仔  阅读(286)  评论(0编辑  收藏  举报