3 编写程序,打印乘法口诀表;
public class Test4 { public static void main (String[] args) { System.out.print("/t"); for(int i=1; i<=9; ++i) { System.out.print(i + "/t"); } System.out.println(); for(int i=1; i<=9; ++i) { System.out.print(i + "/t"); for(int j=1; j<=i; ++j) { System.out.print(i*j + "/t"); } System.out.println(); } } }