Ajit was asked to form the largest and the smallest five digit number using the digits 4, 9, 7, 2 and 1. What's the difference between the largest and the smallest number formed?
84942
The largest number formed by using the given digits = 97421
The smallest number formed by using the given digits = 12479.
So the difference between them = 84942.