How many positive integers less than 1000 are there which contain at least one 4 or at least one 9 (or both)?

1 answer

well, all the 400's and all the 900's

and all the 40's & 90's of the other 8 hundreds

and all the other 8 numbers ending in 9 for the other 8 hundreds