1 22 333 4444 #include<stdio.h> #include<conio.h> main() { int i,j,k,n; clrscr(); printf("Enter number : "); scanf("%d",&n); for(i=1;i<=n;i++) { for(j=1;j<=i;j++) printf("%d",i); printf("\n"); } getch(); } Tags:Learn ProgrammingLearn programming easilyLearn to code