public static void Main(string[] args) { EmpWageBuilder empWageBuilder = new EmpWageBuilder(); empWageBuilder.addCompanyEmpWage("DMart", 20, 2, 10); empWageBuilder.addCompanyEmpWage("Reliance", 10, 4, 20); empWageBuilder.computeEmpWage(); }
static void Main(string[] args) { EmpWageBuilder empWageBuilder = new EmpWageBuilder(); empWageBuilder.addCompanyEmpWage("Google", 40, 20, 100); empWageBuilder.addCompanyEmpWage("Facebook", 30, 15, 75); empWageBuilder.computeEmpWage(); Console.WriteLine("Total Wage for Google company : " + empWageBuilder.getTotalWage("Google")); }