题解 | #小飞机#
小飞机
https://www.nowcoder.com/practice/5cd9598f28f74521805d2069ce4a108a
#include <stdio.h> int main() { int a; for (int i = 0; i < 6; i++) { for (int j = 0; j < 12; j++) { if (i == 0 && (j == 5 || j == 6)) printf("*"); else if ((i == 1 && (j == 5 || j == 6))) printf("*"); else if (i == 2 || i == 3) printf("*"); else if (i == 4 && (j == 4 || j == 7)) printf("*"); else if (i == 5 && (j == 4 || j == 7)) printf("*"); else printf(" "); } printf("\n"); } return 0; }