I am having difficulty converting my captured string to a double datatypes I think I am somewhat on the right track but some guidance would be appreciated. Thanks!
//Capture the users name
Console.WriteLine("Hello, Please enter you name: ");
string userName = Console.ReadLine();
//Capture the year in decimal datatype
Console.WriteLine("Thanks" +userName+ "Now Please enter you age:");
string userAge = Console.ReadLine();
double userYear = double.Parse(userAge);
double userDays = 365 * userYear;
double userHours = 24 * userDays;
double userSeconds = 86400 * userHours;