Ajit was asked to form the largest and the smallest five digit number by using digits 4, 9, 7, 2 and 1 without repeating the digits. What is the difference between the largest and the smallest number formed?
84942
The largest number formed by using the given digits will be 97421 and the smallest digit will be 12479.
So when we subtract 12479 from 97421, the difference between them will be 84942. (97421−12479=84942)