* ** **** ******** I need program for this
*
**
****
********
****************
I can't solve this! help me out of it!
Thanks in advance
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Tapan PatelRank #614 · 3.9K reputationPosted Sep 7, 2016, 6:44 AM EDT
Bhuvan PandeyRank #2,683 · 519 reputationPosted Sep 7, 2016, 8:06 PM EDT
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();
}
Bikesh SrivastavaRank #108 · 20.3K reputationPosted Sep 7, 2016, 11:29 PM EDT