pattern_1

/*
1
22
333
4444
55555*/

#include
#include

void main()
{
int i,j,n=5;
clrscr();
for(i=1;i<=n;i++)
{
for(j=1;j<=i;j++)
{
printf("%d",j);
}
printf("\n");
}
getch();
}

0 comments:

Post a Comment