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

**Answer:**

10^{n-1} - (10^{m}-1)

**Step by Step Explanation:**

- 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 = 10^{1-1}= 1

Thus, the smallest*n*digit number = 10^{n-1} - Similarly, the greatest
*m*digit number = 10^{m}-1 - Thus, the difference between the smallest
*n*digit number and the greatest*m*digit number is**10**.^{n-1}- (10^{m}-1)