题解 | 牛牛的字符菱形
牛牛的字符菱形
https://www.nowcoder.com/practice/11a5040fa894430f9d25fda1be37ddc8
#include <stdio.h>
int main() {
int c;
scanf("%c",&c);
printf(" %c \n",c);
printf(" %c%c%c \n",c,c,c);
printf("%c%c%c%c%c\n",c,c,c,c,c);
printf(" %c%c%c \n",c,c,c);
printf(" %c \n",c);
return 0;
}
