//找规律
public static void main(String[] args) {
for(int i = 1;i < 2;i++){
System.out.print(i + "*" + 1 + "=" + (i * 1) + " ");
}
System.out.println();
for(int i = 1;i < 3;i++){
System.out.print(i + "*" + 2 + "=" + (i * 2) + " ");
}
System.out.println();
for(int i = 1;i < 4;i++){
System.out.print(i + "*" + 3 + "=" + (i * 3) + " ");
}
}
//完整版
public static void main(String[] args) {
for(int j = 1;j < 10;j++){
for(int i = 1;i < j + 1;i++){
System.out.print(i + "*" + j + "=" + (i * j) + "\t");
}
System.out.println();
}
}