Find the difference between the smallest n digit number and the greatest m digit number. (Assume n > m).


Answer:

10n-1 - (10m-1)

Step by Step Explanation:
  1. Let us find the smallest n digit number first.
    We know that the smallest 1 digit number is 1.
    Or, we can say that the smallest 1 digit number = 101-1 = 1
    Thus, the smallest n digit number = 10n-1
  2. Similarly, the greatest m digit number = 10m-1
  3. Thus, the difference between the smallest n digit number and the greatest m digit number is 10n-1 - (10m-1).

You can reuse this answer
Creative Commons License