Consider the three-digit numerals: 100 to 999.
a) How many have at least one 8?
b) How many have at least one 0 or at least one 8?
c) How many have at least one 0 and at least one 8?
Part a) Letís find the number which contains no digit 8. The first digit can be anyone of 1,2,3,4,5,6,7, or 9. Then the other two digits can be anyone of 0,1,2,3,4,5,6,7, or 9.
So there are that do not have a digit 8.
So how many do contain at least one eight?
Now you try the others.