用java打印九九乘法表

package bao;

public class test {

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

}

}

posted on 2020-11-30 10:12  clinch  阅读(40)  评论(0)    收藏  举报