Tringle Pattern of Star(*) in c programm

studypoint
By -
0
# include
# include
void main()
{
int i,j;
clrscr();
for(i=1;i<=5;i++)
{
for(j=1;j<=i;j++)
{
printf("*");
}
printf("\n");
}
getch();
}



*
**
***
****
*****

Post a Comment

0 Comments

Please Select Embedded Mode To show the Comment System.*

3/related/default