//九九乘法表 public class JJH3 { public static void main(String[] args) { System. out . println("\t\tt九九乘法表"); int i,j;
//九九乘法表
public class JJH3 {
public static void main(String[] args) {
System. out . println("\t\tt九九乘法表");
int i,j;
for(i=1;i<=9;i++) {
for(j=1;j<=i;j++) {
system. out. printf( "%d*%d-%2d\t" ,i,j,i*j);
}
System. out . println();
}
}
}
来源地址:https://blog.csdn.net/H1453571548/article/details/129644363
--结束END--
本文标题: Java代码——九九乘法表
本文链接: https://www.lsjlt.com/news/432756.html(转载时请注明来源链接)
有问题或投稿请发送至: 邮箱/279061341@qq.com QQ/279061341
下载Word文档到电脑,方便收藏和打印~
2024-04-01
2024-04-03
2024-04-03
2024-01-21
2024-01-21
2024-01-21
2024-01-21
2023-12-23
回答
回答
回答
回答
回答
回答
回答
回答
回答
回答
0