#include<stdio.h>
int mian(){
int min[4][7]={{0,1,0,0,0,0,0},{0,0,0,0,0,0,0},{0,0,0,0,0,0,0},{0,0,0,0,0,0,1}};
for (int i=0; i<4; i++) {
for (int j=0; j<7; j++) {
if (0==min[i][j]) {
printf(" "); //如果是0 打印空白
}else{ printf("*");
}
}
printf("\n");
}
return 0;
} |
|