Thursday, August 8, 2019

Alphabet Pattern8

Alphabet Pattern8:


alphabet patterns in 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