alphabet pattern 7

Alphabet Upper Right angle 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