1 12 123 1234 #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",j); printf("\n"); } getch(); } Tags:Learn ProgrammingLearn programming easilyLearn to code