Sorry! Posting Assignment is allowed only for commercial accounts.
#include <stdio.h> int main () { int a; int b; /* for loop execution */ for( a = 1; a < 6; a++ ) { /* for loop execution */ for ( b = 1; b <= a; b++ ) { printf("%d",b); } printf("\n"); } return 0;}