Computer Science, asked by anithissac1123, 11 months ago

Input a number and print smallest
And largest digit of number​

Answers

Answered by preetygirl97
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