Needing Help Again
Code:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Gathering_Data
{
class Program
{
static void Main(string[] args)
{
Console.Title = "Info Whore";
Console.WriteLine("Whats Your Name?");
string Name = Console.ReadLine();
Console.WriteLine("Hello {0} how old are you?", Name);
double age = Console.Read();
if (age < 18) Console.WriteLine("Hey now you've gotta be 18 to use this!");
Console.ReadLine();
if (age > 18) Console.WriteLine("Your Name Is {0} and you are {1} years old", Name, age);
Console.ReadLine();
}
}
}
Its supposed to take your name, output it back and ask you for your age,
if the age is over 18 then it'll say your name is blank and your blank years old
if the age is under 18 then its supposed to say hey now you've gotta be 18
to use this. Any help? Also how do I set age so that if someone inputs letters or charcters
as the age it'll say incorrect input and ask for their age again, and same for the name but with
letters only thanks.

