1 package zfc;
 2 
 3 public class Zfc {
 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 }
20         

 

相关文章:

  • 2021-11-10
  • 2022-12-23
  • 2022-01-22
  • 2022-01-15
  • 2021-11-13
猜你喜欢
  • 2021-12-10
  • 2022-01-20
  • 2021-05-30
  • 2021-11-11
相关资源
相似解决方案