Sorry! Posting Assignment is allowed only for commercial accounts.
for (a=1; a=5; i++){for (b=1; b<=a; b++) printf("%d",b); printf ("\n");}