using System;
public class WhileLoopProgram
{
public static void Main()
int i;
Console.WriteLine("How many times you want to print i?");
i = Convert.ToInt32(Console.ReadLine());
while(i > 0)
Console.WriteLine("Value of i="+i);
i--;
}