九九乘法表(题)

 1 public class hello 
 2 {
 3     public static void main(String[] args)
 4     {
 5         for(int i=1;i<=9;i++)
 6         {
 7             for(int j=1;j<=i;j++)
 8             {
 9                 System.out.print(j+"*"+i+"="+j*i+"\t");//输出每一次循环的结果
10             }
11             System.out.println();//循环完一次换行
12         }            
13     }
14 }
15 //题目:输出九九乘法表

 

posted @ 2016-05-08 23:33  明天会更好!!!!  阅读(115)  评论(0)    收藏  举报