public class jiujiu {标签:九九乘法,int,打印,System,列数,print From: https://www.cnblogs.com/nulicheng/p/17841927.html
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"); //注意写成print
}
System.out.println( ); //换行
}
}
}