0
how we write program for this pattern??
**** *** ** *
2 Answers
+ 1
Use for loops (inner loops) to print this pattern. Also there are n number of ways to print this pattern.
Please don't expect the complete program here. Just try it and post here if you have any doubt.
0
int i=4,j;
for (i=1;i<=4;i++)
{
for (j=1;j<=5-i;j++)
{
cout<<"*";
}
cout<<endl;
}