There are 24 players, on a softball team. 10 of the players can pitch, 6 can play first base, and 4 of the players can do both. How many players can neither pitch nor play first base?

those who can do either or both: 10+6-4 = 12

So, 24-12 = 12 can do neither.