public static void Main(string[] args)
Console.Write ("Type in the number you would like to find Factorial of: ");
int num = Convert.ToInt16( Console.ReadLine ());
for (int i = 2; i <= num; i++) {
Console.WriteLine ("The Factorial of {0} is {1}", num, sum);
Console.Write ( "Would you like to play again? (Y or N): " );
string ans = Console.ReadLine();
if( ans == "Y" || ans == "y" ) {
else if( ans == "N" || ans == "n" ) {
Console.Write( "You have entered an invalid answer. Please choose from either Y or N: ");
ans = Console.ReadLine();
}while(isValid == false);