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

            Console.WriteLine("T-shirt");
            ch.CalculateTax(25, 2);

            Tax6 tax6 = new Tax6();

            Console.WriteLine("Book");
            tax6.CalculateTax(25, 2);
        }
Beispiel #2
0
        static void Main(string[] args)
        {
            Tax21 total21 = new Tax21();

            Console.Write("2 T-Shirts= ");
            total21.CalculateTax(25, 2);
            Console.WriteLine("-----------------------");
            Tax6 total6 = new Tax6();

            Console.Write("2 Boeken= ");
            total6.CalculateTax(25, 2);
            Console.ReadLine();
        }