1 package com.gen; 2 3 public class Multi99table { 4 public static void main(String args[]) { 5 for (int i = 1; i <= 9; i++) { 6 for (int j = 1; j <= i; j++) { 7 if (j <= i) { 8 System.out.print(j + "*" + i + "=" + j * i + " "); 9 } 10 } 11 System.out.print("\n"); 12 } 13 } 14 }
(一)、九九乘法表
时间: 2024-10-13 02:39:27