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