Advertisement

Tringle


#include<conio.h>
#include<stdio.h>
void main()
{clrscr();
int i,j;
for(i=1;i<=5;i++)
{for(j=1;j<=i;j++)
{printf("%d",i);}
printf("\n");
                      }
getch();}

No comments:

Post a Comment

Please comment bellow. Share your knowledge