programming-examples/c/Pattern_Programs/E DD CCC BBBB AAAAA.c

14 lines
254 B
C
Raw Normal View History

2019-11-15 12:59:38 +01:00
#include <stdio.h>
int main()
{
int i, j;
for(i=4; i>=0; i--)
{
for(j=4; j>=i; j--)
{
printf("%c",'A' + i);
}
printf("\n");
}
return 0;
}