九九乘法表

题目:输出9*9口诀。

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();
}

源码

点赞

Leave a Reply

Your email address will not be published. Required fields are marked *