public static void Main()
string Eleven = "Eleven ";
string Twelve = "Twelve";
string Thirteen = "Thirteen";
string Fourteen = "Fourteen";
string Fifteen = "Fifteen";
string Sixteen = "Sixteen";
string Seventeen = "Seventeen";
string Eighteen = "Eighteen";
string Nineteen = "Nineteen";
string Twenty = "Twenty";
string Thirty = "Thirty";
string Fourty = "Fourty";
string Seventy = "Seventy";
string Eighty = "Eighty";
string Ninety = "Ninety";
string Hunderd = "Hundred";
string Thousand = "Thousand";
Console.Write("Enter a Number: ");
userInput = Console.ReadLine();
if (Int32.TryParse(userInput, out input) == true)
if (input >= 1 && input < 100)
print += Seventy + space;
else if (input >= 100 && input < 1000)
print += One + space + Hunderd + space;
print += Two + space + Hunderd + space;
print += Three + space + Hunderd + space;
print += Four + space + Hunderd + space;
print += Five + space + Hunderd + space;
print += Six + space + Hunderd + space;
print += Seven + space + Hunderd + space;
print += Eight + space + Hunderd + space;
print += Nine + space + Hunderd + space;
if (input > 0 && input <= 19)
print += Seventy + space;
print += One + space + Thousand;
Console.WriteLine("1000 is the Maximum Value, Try Again");
Console.WriteLine(print);
Console.WriteLine("Only Numberic values will be accepted, Try again");