public static void Main()
Console.WriteLine("Please give me an integer");
sNum1 = Console.ReadLine();
Console.WriteLine("Please give me another integer");
sNum2 = Console.ReadLine();
iNum1 = Convert.ToInt32(sNum1);
iNum2 = Convert.ToInt32(sNum2);
Console.WriteLine(answer);
catch (DivideByZeroException divideByZeroExceptionParameter)
Console.WriteLine("Error: Cannot divide by zero");
error2 = divideByZeroExceptionParameter.ToString();
catch (FormatException formatExceptionParameter)
Console.WriteLine("Error: please enter only integers");
error1 = formatExceptionParameter.ToString();
Console.WriteLine("Would you like to see the C# error messages? Type Y ( NOT case sensitive)");
userInput = Console.ReadLine();
if ( userInput == "Y" || userInput == "y")
Console.WriteLine(error1);
Console.WriteLine(error2);