for循环输出九九乘法表

public class lianxi2 {

    public static void main(String[] args) {
        // TODO 自动生成的方法存根
    for (int a = 1;a<=9;a++)    {
        
        for(int b=1;b<=a;b++){
            
        System.out.print(a+"*"+b+"="+a*b+"	");
        
        }
        
        System.out.println();
        
    }

}
}

原文地址:https://www.cnblogs.com/zhanghaozhe8462/p/5102511.html