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

  2.         public static void main(String[] args) {
  3.                 int i=1,j=1;
  4.                 while(i<10)
  5.                 {
  6.                        
  7.                         while(j<10)
  8.                         {
  9.                                 System.out.print(i+"*"+j+"="+i*j+"\t");
  10.                                 j++;
  11.                         }
  12.                                
  13.                         i++;
  14.                         j=1;
  15.                         System.out.println();
  16.                 }
  17.         
  18.         }

  19. }
複製代碼

TOP

返回列表