Exemple #1
0
        static void Main(string[] args)
        {
            EmpWageBuilderObject empWageBuilderObject = new EmpWageBuilderObject();

            empWageBuilderObject.addCompanyEmpWage("DMart", 20, 15, 100);
            empWageBuilderObject.addCompanyEmpWage("Reliance", 10, 20, 200);
            empWageBuilderObject.computeEmpWage();
            empWageBuilderObject.getTotalWageForAllCompany();
        }
Exemple #2
0
        public static void Main()
        {
            EmpWageBuilderObject DMart = new EmpWageBuilderObject("NOKIA", 20, 2, 10);

            DMart.computeEmpWage();
            EmpWageBuilderObject Relaince = new EmpWageBuilderObject("SAMSUNG", 10, 4, 20);

            Relaince.computeEmpWage();
        }