A
A, b
A b c
A b c d
CodePudding user response:
For your reference
# include & lt; stdio.h>
Int main ()
{
Char ch='a';
Int I, j, n.
Printf (" input to print layers: \ n ");
The scanf (" % d ", & amp; n);
For (I=0; i{
for (j=0; jPrintf (" ");
for (j=0; j<=I; J++)
{
If (j==0)
Printf (" % c ", ch);
The else
Printf (" % c ", ch + j).
}
printf("\n");
}
Getchar ();
return 0;
}
CodePudding user response:
my child is still very shallow, all don't understand, this code, to learn oneCodePudding user response:
Play Spaces and line breaksCodePudding user response:
Thanks for big help, get it