public static void Main()
Console.WriteLine("What would you like to calculate the factorial of?");
ulong ans= ulong.parse(Console.ReadLine());
for(ulong i = 1;i <=ans;i++)
Console.WriteLine ans+"! = " +fact;
Console.WriteLine("Do you want to restart? Please Enter Yes or No.");
string answer = Console.ReadLine();
if (answer =Yes || answer = "yes”)