public class Lingxing { public static void main(String[] args) { // TODO 自动生成的方法存根 for (int A = 2; A > -1; A--) { for (int B = 0; B < 3 - A; B++) { System.out.print("0"); } System.out.println(""); } for (int C = 0; C < 3; C++) { for (int D = 1; D < 3 - C; D++) { System.out.print("0"); } System.out.println(" "); } } }
时间: 2024-12-14 18:49:55