The average salary of all the employees in an office is Rs. 8000. The average salary of 7 team leads is Rs.12000 and the average salary of the rest is Rs. 6000. How many employees are in the office?
21
Let the number of employees = x
Given that average salary of all the employees = Rs.8000
then total salary of all employees = 8000x
Given that average salary of 7 team leads is Rs.12000
⇒ Total salary of 7 team leads =7×12000=84000
Number of the rest of the employees = (x - 7)
Average salary of the rest of the employees = Rs.6000
Total salary of the rest of the employees = (x - 7)(6000) 8000x = 84000 + (x - 7)(6000)
⇒8x = 84 + (x - 7)(6)
⇒ 8x = 84 + 6x - 42
⇒ 2x = 42
⇒x=42/2=21.