The answer in fact is 'C' but there could be a different approach to solve this problem.
Solution:
Lets assume,
Total Number of employees on the task force = N
Total Number of Manager among these employees = M
Total Number of Directors among these employees = D = (N-M) ----> Equation #1
Salary of Employee #1 = S
1
Salary of Employee #2 = S
2
--------------------------------------------------
--------------------------------------------------
Salary of Employee #m = S
m
--------------------------------------------------
--------------------------------------------------
Salary of Employee #n = S
n
Also lets assume that first M employees are manager and rest are Directors.
Now Average Salary of All Employees will be = A
A = (S1 + S2 + ---- + Sn) / N -----> Equation 2
According to condition #1
Av. salary of Managers = Av. Salary of All employees - 5000
i.e. (S
1 + S
2 + ---- + S
m) / M = A - 5000
Move denominator (M) of LHS to the RHS (right hand side) of the equation.
i.e. (S1 + S2 + ---- + Sm) = (A - 5000).(M) --------> Equation #3
According to condition #2
Av. salary of Directors = Av. Salary of All employees + 15000
i.e.
(S
m+1 + S
m+2 + ---- + S
n) / (N - M)= A + 15000
Similarly, Move (N - M) on the RHS (right hand side) of the equation.
i.e. (Sm+1 + Sm+2 + ---- + Sn) = (A + 15000).(N - M) --------> Equation #4
(why here Sm+1 ? --> Because we have consider first 'm' employees are managers and after that counters are for directors i.e. rest are directors)
Now add equation #3 and equation #4
(S1 + S2 + ----- + Sm) + (Sm+1 + Sm+2 + ----- + Sn) = (A + 15000).(N - M) + (A - 5000).(M) -----------> equation #5
Now multiply and divide LHS by N
==> LHS = N.A ---> I guess its easy to understood by it is reduced to A.
Therefore equation #5 will reduce to
N.A = N.A + 15000N - MA - 15000M + MA - 5000M
MA and NA will cancel out in the above equation and we left with
0 = 15000N - 20000M
=> 4M = 3N
=> M = (3/4)N = 75%
from equation #1,
=> D = (N-M) = (1/4)N = 25%
ash g wrote:In both these, is there any assumption that salary of directors and manager is the same.
So, there is no need to assume any one's salary.