kotela
XYZ Tech is an IT company with 100 employees who all are software developers.The ratio of developers working on Java to developers working on PHP is 5:3.The ratio of developers working on PHP to developers working on Java and PHP is 6:4.The ratio of developers working on PHP to developers not working on Java and PHP is 3:1.
Find.
1. How many developers work only on Java?
2. How many developers work only on PHP?
3. How many developers work only on both Java and PHP?
4. How many developers neither work on Java nor PHP?
Answers for the 4 questions are
1.50
2.10
3.20
4.10
There is a problem with the numbers given (as pointed out in the post above). The solution would look something like this:
Ratio of developers working on Java:developers working on PHP = 5:3
Ratio of developers working on PHP:developers working on both = 6:4 = 3:2
Ratio of developers working on PHP:developers not working on Java and PHP = 3:1
Ratio of developers working on Java:developers working on PHP:developers working on both:developers working on neither Java nor PHP = 5:3:2:1
Say, developers working on Java is 5n. Then developers working on PHP is 3n, developers working on both is 2n and developers working on neither is n.
100 - n = 5n + 3n - 2n
100 = 7n
n cannot be a non-integral value since it represents the number of people. This is the problem with the numbers here. Either total number of people cannot be 100 or some of the ratios are incorrect.
Once we get n, it is straightforward to find everything needed.