java--九九乘法表

public class ForDemo01 {
    public static void main(String[] args) {
        for (int j = 1; j < 10; j++) {
            for (int i = 1; i <= j; i++) {
                System.out.print(i+"*"+j+"="+(j*i) + "\t");
            }
            System.out.println();
        }

    }

 

posted @ 2021-06-23 22:09  Bilia  阅读(41)  评论(0编辑  收藏  举报