public static void Main()
string choice = "nothing";
Console.WriteLine("How Many Square Roots Would You Like To Calculate?"); string n = Console.ReadLine();
if(double.TryParse(n, out n2))
{ Console.WriteLine("The Square Roots Are: ");
do {Console.Write(Math.Sqrt(i).ToString("###.###")+ ", ");
else if ( n2<0 ) {Console.WriteLine("Please Enter A Positive Number."); Console.ReadLine(); goto start ; }
else {Console.WriteLine("Error, Please Enter Valid Number.");
Console.WriteLine("Would you like to restart the program? Press q to quit or anything else to continue");choice = Console.ReadLine();
if(choice != "q" && choice != "Q"){ goto start; }}