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

            calculate.Add(2, 2);
            calculate.Substract(10, 5);
            calculate.Divide(12, 6);
        }
예제 #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);
        }
예제 #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);
        }