返回列表 發帖
  1. package ch01;

  2. public class ch02
  3. {
  4.         public static void main(String[] args)
  5.         {
  6.                 for(int i=1;i<=9;i++)
  7.             {
  8.                         for(int j=1;j<=9;j++)
  9.                         {
  10.                                 System.out.print(i+"x"+j+"="+(i*j)+"\t");
  11.                         }
  12.                         System.out.println();
  13.             }
  14.         }
  15. }
複製代碼

TOP

返回列表