Beispiel #1
0
        static void Main(string[] args)
        {
            ChildCalculate calculate = new ChildCalculate();

            calculate.Add(2, 2);
            calculate.Substract(10, 5);
            calculate.Divide(12, 6);
        }
Beispiel #2
0
        static void Main(string[] args)
        {
            ChildCalculate calculate = new ChildCalculate();

            calculate.Add(5, 7);
            calculate.Substract(10, 2);
            calculate.Multiply(10, 10);
            calculate.Divide(12, 6);
        }
Beispiel #3
0
        static void Main(string[] args)
        {
            Calculate calculate = new ChildCalculate();

            calculate.Add(2, 2);
            calculate.Substract(15, 36);
            calculate.Multiply(15, 36);
            calculate.divide(40, 10);
        }