public static void Main(string[] args)
Console.WriteLine("This program will accept two numbers from you and divide the first by the second");
Console.WriteLine("--------------------------------------------------------------------------------");
Console.WriteLine("Please enter two numbers, each should be between 1 and 255");
Console.WriteLine("Enter 1st number, press enter then enter second number");
int num = int.Parse(Console.ReadLine());
int denum = int.Parse(Console.ReadLine());
int quotient = num / denum;
Console.WriteLine("Your result is " + quotient);
catch (DivideByZeroException pic)
Console.WriteLine(pic.Message);
catch (System.FormatException nil)
Console.WriteLine(nil.Message);