如题所述
#include<stdio.h>
int main()
{ char ch;
int i,j;
for(i=1,ch='A';i<=8;i++,ch++)
{
for(j=1;j<=i;j++)
printf("%c",ch);
}
printf("\n");
return 0;