public static void Main()
Console.WriteLine("What is the first number? ");
int num1 = Convert.ToInt16(Console.ReadLine());
Console.WriteLine("What is the second number? ");
int num2 = Convert.ToInt16(Console.ReadLine());
Console.WriteLine("What is the third number? ");
int num3 = Convert.ToInt16(Console.ReadLine());
if (A&&B) Console.WriteLine("{0} is the greatest number", num1);
if (C) Console.WriteLine("{0} is the smallest number", num3);
if (D&&E) Console.WriteLine("{0} is the greatest number", num2);
if (B) Console.WriteLine("{0} is the smallest number", num3);
else Console.WriteLine("{0} is NOT the greatest number", num1);