Java基础系列(23)- 打印九九乘法表时间:2023-03-10 08:33:51 package struct; public class ForDemo03 { public static void main(String[] args) { for (int line = 1;line<=9;line++){ for (int row = 1;row <= line;row++){ System.out.print(line+"*"+row+"="+(line*row)+"\t"); } System.out.println(); } } }