九九乘法表的代码

来源:互联网 发布:华硕笔记本怎么优化 编辑:程序博客网 时间:2024/06/06 13:00
class jiuJiuChengFaBiao
{
public static void main(String[] args) 
{
for (int i = 1;i <= 9 ;i++ )
{
for (int j = 1;j <= i ;j++ )
{
System.out.print(i + "*" + j + "=" + i * j +"\t");
}
System.out.println();
}
}
}
0 0