Out of 250 programmers,75 can program in Fortran, 47 can program in basic and 60 can program in Ctt. There are 30 who can program in both Fortran and Basic,22 who can program in both basic and Ctt, 7 who can program in both Ctt and fortran and 5 who can program in all three languages. Find:
1. how many can program in at most one of them.
2. how many can program in Fortran and exactly one of the other two languages

Respuesta :

1. Number of programmers who can program in at most one of the languages:

- Total programmers = 250.

- Programmers who can program in at least one language = Fortran (75) + Basic (47) + C++ (60) - Overlaps (30 + 22 + 7) + All three languages (5) = 128.

- Programmers who can program in at most one language = Total programmers - Programmers who can program in at least one language = 250 - 128 = 122.

2. Number of programmers who can program in Fortran and exactly one of the other two languages:

- Programmers who can program in Fortran = 75.

- Subtract programmers who can program in both Fortran and another language, but not all three.

- Programmers who can program in Fortran and exactly one of the other two languages = Fortran programmers - (Fortran and Basic) - (Fortran and C++) + (Fortran, Basic, and C++) = 75 - (30 + 7 - 5) = 43.