Computer Science, asked by janvi200422, 11 months ago


Question 5
Write a program in Java to accept a number. Using the digits of this number create the
largest possible number.
For example if the number entered is 311409 then the largest possible number using its
digits will be 943110.

Answers

Answered by mdaymaan9
1

Answer:

It's easy

Just extract each digit ,keep it in a array and bubble sort the array

I'll attach the solution

Attachments:
Similar questions