Write the difference of the smallest and the largest numbers of -digits.
Step ; Find the smallest numbers of -digits.
The smallest -digits number is
Step ; Find the largest numbers of -digits.
The largest -digits number is
Now difference of and
Difference
Hence, the difference of the smallest and the largest numbers of -digits is