九九乘法表代码

 1 package chengfabiao;
 2 
 3 public class chengfabiao {
 4     
 5     public static void main(String[] args)
 6     {        
 7          //九九乘法表
 8         for(int x = 1; x <= 9; x++)
 9         {
10             for(int y = 1; y <= x; y++)
11             {
12                 System.out.print(y + "×" + x + "=" + (x*y) + "; ");
13                 
14             }
15             System.out.println();
16         }
17     }
18     
19 }
原文地址:https://www.cnblogs.com/doubiqi/p/5020958.html