public static void Main(string[] args)
Console.WriteLine("Pascal's Triangle.");
Console.Write("Enter a row number: ");
inputDigit = Console.ReadLine();
if (Int32.TryParse(inputDigit, out digit) == true)
Console.WriteLine("\nInput number less than zero is not allowed.");
Console.WriteLine("\nInput number greater than 25 is not allowed.");
for (int counterOne = 1; counterOne < digit; counterOne++)
sumAllAboveRow += amount;
for (int counterTwo = 1; counterTwo <= digit + 1; counterTwo++)
Console.WriteLine("\nThe sum of numbers above row " + digit + " is " + sumAllAboveRow + ". \nThe sum of the numbers in row " + (digit + 1) + " is " + sumNextRow + ".");
Console.WriteLine("\nInvalid Input. Please Enter a numeric value.");