alphabet pattern 10

Alphabet Upper Triangle Program In C



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

}

No comments:

Post a Comment