I want to ask a user to input a number in a string type (because that's the only way in C#) and then convert it into a double type.
private static string InputDouble(double prompt)
{
Console.WriteLine("{0:s}: ", prompt);
return Convert.ToDouble(Console.ReadLine());
}
I hope anyone has a solution for this.