public static void Main()
Console.WriteLine("Please enter a whole number.");
string input = Console.ReadLine();
if (ulong.TryParse(input, out n))
for (ulong i = 1; i < 100; i++)
Console.WriteLine(n + " is divisible by " + i + ".");
Console.WriteLine("You didnt enter a whole number, please enter again.");
Console.WriteLine("If you would like to restart the program enter 'Y'. To quit, click any other key.");
string choice = Console.ReadLine();
if (choice == "Y" || choice == "y")