Print Star Value - interview Questions

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

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

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

Comments or Responses

Login to post response