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