C Lang: Program in C to display the pattern: 1 12 123 1234
Click Here: www.lovebookessence.blogspot.com
#include<stdio.h>
#include<conio.h>
void main()
{
int n, i;
for(n=1;n<=4;n++)
{
for(i=1;i<=n;i++)
for(i=1;i<=n;i++)
{
printf("%d\t", i);
}
printf("\n");
}
getch();
}
Click Here: www.lovebookessence.blogspot.com
Please Visit: www.lovebookessence.blogspot.com
Please Visit: www.lovebookessence.wordpress.com
Facebook Page: fb.me/mohitsinghkush700
Comments
Post a Comment