C Program to print the pattern
X
X Y
X Y Z
........................................................................................#include<stdio.h>
#include<conio.h>
void main()
{
int i,j;
for(i=88;i<91;i++)
{
for(j=88;j<=i;j++)
{
printf("%c",j);
}
printf("\n");
}
getch();
}
........................................................................................
Comments
Post a Comment