programming-examples/c/Pattern_Programs/ABCDE ABCDE ABCDE.c

14 lines
253 B
C
Raw Normal View History

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