public static void Main()
string restart = "This value can be anything.";
while (restart != "q" && restart != "Q")
Console.WriteLine("How many square roots would you like to calculate?");
string input = Console.ReadLine();
if (double.TryParse(input, out ans) )
Console.WriteLine("Please enter a positive number");
Console.WriteLine("The square root of " + i + " = " + Math.Sqrt(i).ToString("###.###") + ", ");
Console.WriteLine(" Would you like to run to run again? Please press q to quit.");
restart = Console.ReadLine();