Wednesday, July 31, 2019

Alphabet Patterns4

Alphabet Patterns4:


alphabet patterns in cprograms


A
BB
CCC
DDDD
EEEEE


#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",i);
}
printf("\n");
}
getch();
}


EmoticonEmoticon