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