5 e.) Program to print :-

 

/*program to print the
2
34
456
5678
678910*/
#include<stdio.h>
#include<conio.h>
int main()
{
    int i,j,n=1;
    for(i=1;i<=5;i++)
    {
        for(j=1;j<=i;j++)
        {
            printf("%d",i+j);
        }
        printf("\n");
    }
    return 0;
}

Output:-
2 34 456 5678 678910
***** Thank you 😃***

Comments

Popular posts from this blog

18 Amazing programs in C.