Wednesday, July 31, 2019

Alphabet Patterns5

Alphabet Patterns5:


alphabet patternsin cprograms


A
AB
ABC
ABCD
ABCDE


#include<stdio.h>
#include<conio.h>

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


EmoticonEmoticon