1.

1 1 21 2 31 2 3 4 51 2 3 4 5 6 7. Write a program to display the following patterns.​

Answer»

The focllowing code is in C.int i,J;for( i = 1 ; i <= N ; i++ ){ //replace N with NUMBER of LINES        for( j = 1 ; j <= i ; j++ ){                PRINTF("%d", j );        }}



Discussion

No Comment Found