for (int i = 1; i < 10; i++) {
for (int j = 1; j <= i; j++) {
System.out.print(j+"x"+i+"="+j*i+"\t");
}
System.out.println();
}
Java实现乘法口诀
最新推荐文章于 2022-04-16 17:46:55 发布
for (int i = 1; i < 10; i++) {
for (int j = 1; j <= i; j++) {
System.out.print(j+"x"+i+"="+j*i+"\t");
}
System.out.println();
}