static void Main(string[] args)
        {
            UpdateBasicCalculator c = new UpdateBasicCalculator("plexton", "100");

            c.ShowInfo();
            c.division(20, 30);
            c.multiplication(120, 30);
            c.sub(28, 33);
            c.sum(20, 30);

            UpdateScientificCalculator s = new UpdateScientificCalculator("gtx", " fx-500");;

            s.ShowInfo();
            s.factorial(520);
            s.XtoY(20, 33);
            s.sum(20, 50);
            s.sub(65, 72);
            s.multiplication(50, 60);
            s.division(130, 140);
        }
Exemplo n.º 2
0
        static void Main(string[] args)
        {
            UpdateBasicCalculator c = new UpdateBasicCalculator("Abacus", "100");

            c.ShowInfo();
            c.division(15, 5);
            c.multiplication(10, 10);
            c.sub(18, 13);
            c.sum(1, 100);

            UpdateScientificCalculator s = new UpdateScientificCalculator("Casio", " fx-991EX");;

            s.ShowInfo();
            s.factorial(5);
            s.XtoY(2, 8);
            s.sum(20, 00);
            s.sub(23, 12);
            s.multiplication(5, 10);
            s.division(10, 10);
        }