Answer :
Any number between 500 and 1000 that contains both 3 and 4 must be of the form x34 or x43, where x is an one of {5, 6, 7, 8, 9}. There are 2 possible forms for each of the 5 choices for x, so there are 2 × 5 = 10 such integers.
Any number between 500 and 1000 that contains both 3 and 4 must be of the form x34 or x43, where x is an one of {5, 6, 7, 8, 9}. There are 2 possible forms for each of the 5 choices for x, so there are 2 × 5 = 10 such integers.