题解 | #字符金字塔#
字符金字塔
http://www.nowcoder.com/practice/0fae60c3b5c64699b7c0f031c2187dde
#include <stdio.h>
int main()
{
char ch;
scanf("%c",&ch);
printf(" %c\n %c %c\n %c %c %c\n %c %c %c %c\n%c %c %c %c %c\n",ch,ch,ch,ch,ch,ch,ch,ch,ch,ch,ch,ch,ch,ch,ch);
return 0;
}