alphabet pattern 6

Alphabet Right angle pattern in C



#include<stdio.h>
#include<conio.h>
void main()
{
char i,j;

for(i='A';i<='E';i++)
{
for(j='A';j<=i;j++)
{
printf("%c",j);
}
printf("\n");
}
getch();
}

No comments:

Post a Comment