In a technology seminar attended by software engineers, engineers know Python and engineers know Java. If engineers know both Python and Java, how many engineers know neither of these two programming languages?
Cevap: 10 engineers
Cevap
The number of engineers who know neither Python nor Java is 10.
The correct answer is 10. By taking the sum of Python knowers () and Java knowers () and subtracting those who know both (), we obtain engineers who know at least one language. Subtracting this from the total seminar participants leaves engineers who know neither language.
Adım Adım Çözüm
Anahtar Kavram
Two-Set Inclusion-Exclusion Principle and Complement of Sets