Asked by denial
Write a program that reads a five digit integer number from the keyboard, and then constructs
the largest possible integer number with the digits of the entered number. Your program should
have only one class , which implements the standard method.You are not allowed to use class String for manipulating the numbers and you also not allowed to use loops or arrays.
the largest possible integer number with the digits of the entered number. Your program should
have only one class , which implements the standard method.You are not allowed to use class String for manipulating the numbers and you also not allowed to use loops or arrays.
Answers
Answered by
denial
here is an example of what it should print:
Enter a five digits integer number: 89376
The digits in 89376 are:8,9,3,7,6
The largest number with this digits is : 98763 .
thanks in advance .
Enter a five digits integer number: 89376
The digits in 89376 are:8,9,3,7,6
The largest number with this digits is : 98763 .
thanks in advance .
There are no AI answers yet. The ability to request AI answers is coming soon!