static private ulong fact(ulong a)
factorial = factorial * i;
static private double DectoPer(double a)
static private double PertoDec(double a)
public static void Main()
Console.WriteLine("Please choose which option you would like to calculate");
Console.WriteLine("Press 1 for factorial, 2 to convert from decimal to percent, 3 to convert from percent to decimal.");
string choice = Console.ReadLine();
Console.WriteLine("what number do you want the factorial of?");
ulong number = ulong.Parse(Console.ReadLine());
Console.WriteLine("the Factorial of " + number+ " is " + factorial);