乘法口诀表

    使用eclipse输出乘法口诀表

   代码:

package com.practice;


public class Multi {

    public static void main(String[] args) {

for (int i = 1; i < 10; i++) {

for (int j = 1; j <=i; j++) {

System.out.print(j+"x"+i+"="+i*j+" ");

}

System.out.println();

}

}

}




你可能感兴趣的:(package,public)