#include
void main()
{
int i,j,k;
clrscr();
for(i=1;i<=3;i++)
{
for(j=3;j>=i;j--)
printf(" ");
{
for(k=1;k<=i*2-1;k++)
printf("*");
}
printf("\n");
}
getch();
}
Output:
*
***
*****
we can share the knowledge with our friends. So they can share with their friends. and so on... Finally You can turn back ...how many of them stand behind you....
Modified By Blogcrowds
No comments:
Post a Comment