Input a number and print smallest
And largest digit of number
Answers
Answered by
1
Answer:
87621. To form the smallest number, we should arrange the digits in descending order; i.e., 8, 7, 6, 2, 1Therefore, the possible largest number is 87621.
Similar questions