package structure;
public class ForDemo04 {
public static void main(String[] args) {
for (int i = 1; i < 10; i++) {
for (int j = 1; j <= i; j++) {
System.out.print(i+"*"+j+"="+i*j+"\t");
}
System.out.println();;
}
}
}
还是有些成就感,嵌套+两个变量间的比较。
标签:11,03,九九乘法,int,System,2022,public,out From: https://www.cnblogs.com/RUI2022/p/16854507.html