alphabet pattern 8

Alphabet Upper Triangle Program in C






#include<stdio.h>
#include<conio.h>
void main()
{
int 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