题解 | #小飞机#
小飞机
https://www.nowcoder.com/practice/5cd9598f28f74521805d2069ce4a108a
import java.util.Scanner; // 注意类名必须为 Main, 不要有任何 package xxx 信息 public class Main { public static void main(String[] argsargs) { for (int i = 1; i <= 6; i++) { if (i == 3 || i == 4) { System.out.println("************"); } else if(i == 5 ||i==6){ System.out.println(" * * "); }else { System.out.println(" ** "); } } } } 认证审题就可以做出来了