返回列表 發帖
  1. public class Ch01
  2. {
  3.     public static void main(String args[])
  4.     {
  5.         int i=1;
  6.         while(i<=9)
  7.         {
  8.             int j=1;
  9.             while(j<=9)
  10.             {
  11.                 System.out.print(i+"x"+j+"="+(i*j)+"\t");
  12.                 j++;
  13.             }
  14.         }
  15.         }
  16. }
  17.      
複製代碼

TOP

返回列表