* ** **** ******** I need program for this
*
**
****
********
****************
I can't solve this! help me out of it!
Thanks in advance
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Bikesh SrivastavaPosted Sep 8, 2016, 3:29 AM
Bhuvan PandeyPosted Sep 8, 2016, 12:06 AM
Hi
Santhosh, try this program.
int flag = 1;
for (int i = 0; i < 10; i++)
{
for (int j = 1; j <=flag; j++)
{
Console.Write("*");
}
flag = flag * 2;
Console.WriteLine();
}
Tapan PatelPosted Sep 7, 2016, 10:44 AM