Ejemplo n.º 1
0
        static void Main(string[] args)
        {
            SimpleCalculator sc = new SimpleCalculator();

            Console.WriteLine(sc.userSquared());

            Console.WriteLine(sc.addTwoNumbers());

            Console.WriteLine("Enter 3 Numbers, and I'll tell you which is biggest: ");
            int x, y, z;
            x = int.Parse(Console.ReadLine());
            y = int.Parse(Console.ReadLine());
            z = int.Parse(Console.ReadLine());
            Console.WriteLine(sc.findMaxOfThree(x, y, z));

            Console.ReadLine();
        }