返回列表 發帖
  1. public class Ch56 {

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

TOP

返回列表