public static void Main()
Console.WriteLine("Welcome to the prime-factorial program. Please enter an integer you would like to factor below.");
int number = Convert.ToInt32(Console.ReadLine());
while (number % 2 == 0 && number != 1)
Console.WriteLine("The prime factor of the number you entered is " + fact2 + " two's.");
while (number % 3 == 0 && number != 1)
Console.WriteLine("The prime factor of the number you entered is " + fact2 + " two's and " + fact3 + " three's.");
while (number % 5 == 0 && number != 1)
Console.WriteLine("The prime factor of the number you entered is " + fact2 + " two's, " + fact3 + " three's, and " + fact5 + " five's.");
while (number % 7 == 0 && number != 1)
Console.WriteLine("The prime factor of the number you entered is " + fact2 + " two's, " + fact3 + " three's, " + fact5 + " five's, and " + fact7 + " seven's.");
while (number % 11 == 0 && number != 1)
Console.WriteLine("The prime factor of the number you entered is " + fact2 + " two's, " + fact3 + " three's, " + fact5 + " five's, " + fact7 + " seven's, and " + fact11 + " eleven's.");
while (number % 13 == 0 && number != 1)
Console.WriteLine("The prime factor of the number you entered is " + fact2 + " two's, " + fact3 + " three's, " + fact5 + " five's, " + fact7 + " seven's, " + fact11 + " eleven's, and " + fact13 + " thirteen's.");
Console.WriteLine("Sorry, that number's prime factors exceed 13, which is the total extent of this program so far.");