The average salary of all the workers in a workshop is Rs. 8000. The average salary of 7 technicians is Rs. 12000 and the average salary of the rest is Rs. 6000. The total number of workers in the workshop is__________________?
A. 20
B. 21
C. 22
D. 23
B. 21
Let the total number of workers be x. Then,
8000x = (12000 * 7) + 6000(x – 7)
= 2000x = 42000
= x = 21