alphabet pattern 9

Alphabet Upper Right Angle Triangle Program in C



#include<stdio.h>
#include<conio.h>
void main()
{
int i ,j;
for(i=4;i>=0;i--)
{
for(j=0;j<=i;j++)
{
printf("%c",i+65);
}
printf("\n");
}
getch();

}

No comments:

Post a Comment