题目:用for循环打印倒序九九乘法表
如图:
public class Test02 {
public static void main(String[] args) {
for (int x = 9;x >= 1;x--){
for(int y =1;y <= 9-x;y++){
System.out.print("\t\t");
}
for (int z = x;z >= 1;z--){
System.out.print(x+"*"+z+"="+(x*z)+"\t");
}
System.out.println();
}
}
}