/*Print pattern using nested for loop
A
B B
C C C
D D D D
E E E E E
*/
//ascii value of Z=90
#include<stdio.h>
int main()
{
int i,j;
for(i=65;i<=69;i++)
{
for(j=65;j<=i;j++)
printf("%c ",i);
printf("\n");
}
return 0;
}
To embed this project on your website, copy the following code and paste it into your website's HTML: