public static void Main()
string restart = "This value can be anything.";
while (restart != "q" && restart != "Q")
Console.Write("What number would you like the square root of?");
string sn = Console.ReadLine();
Console.WriteLine(" The square root of: " + i + " is = " + Math.Sqrt(i).ToString("##.###"));
Console.WriteLine("Press q to quit or anything else to restart.");
restart = Console.ReadLine();
Console.WriteLine("Please enter a positive number");