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
Post a Comment