This is the code I have. It works and sends an error to the user when they input something other than a number. What I need to figure out is how to send the same error if they try to enter a string again.
Console.WriteLine("Type in a number and then press enter:");
try
{
num2 = Convert.ToDouble(Console.ReadLine());
}
catch
{
Console.WriteLine("Please Enter a valid numerical value!");
Console.WriteLine("Please enter a valid number and then press enter:");
num2 = double.Parse(Console.ReadLine());
}