Reverse Print to Star Value

Jayakumars
Posted by Jayakumars under ASP.NET AJAX category on | Points: 40 | Views : 711
Reverse Print to Star Value
=================================
static void Main(string[] args)
{
Console.Write(" Serial Numbers :-> ");

for (int i = 1; i <= 5; i++)
{
Console.Write("\n");
for (int j = i; j <= 5; j++)
{
Console.Write("*");
}

}
Console.Out.Flush();
var name = Console.ReadLine();
}

Comments or Responses

Login to post response