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.