public static void Main()
Console.WriteLine("Please enter a number that you would like to calculate the factorial of.");
ulong input = ulong.Parse(Console.ReadLine());
{Console.WriteLine("Please enter a smaller number.");
for(ulong i = 1; i <= input; i++)
Console.WriteLine("The factorial of " +input+ " is = " + fact);
Console.WriteLine("Would you like to restart the program?");
string ans = Console.ReadLine();
Console.WriteLine("Hope you enjoyed!"); }