5. Find the difference between the greatest and the least 5-digit number that can be written using the digits 6, 2, 7, 4, 3 each only once.
Given, digits: 6, 2, 7, 4 and 3
Since, the digits have to be used only once, arrange them in ascending and descending order to get the minimum and maximum number.
Greatest number =
Smallest number =
The difference between the greatest and the least number