Esempio n. 1
0
        static void Main(string[] args)
        {
            CalculatorBody calculator = new CalculatorBody();

            calculator.AddNumbers();
            calculator.SubtractNumbers();
            calculator.MultiplyNumbers();
            calculator.DivideNumbers();
            calculator.ExponentNumbers();
            calculator.SquareRootNumbers();
            calculator.FactorialNumber();
            //calculator.UserInput();
        }
Esempio n. 2
0
        static void Main(string[] args)
        {
            CalculatorBody calculator = new CalculatorBody();


            calculator.AddNumbers();
            calculator.SubtractNumbers();
            calculator.MultiplyNumbers();
            calculator.DivideNumbers();
            calculator.ExponentNumbers();
            calculator.SquareRootNumbers();
            calculator.FactorialNumber();
            //calculator.UserInput();
        }