0

Three digits are given. Specify the smallest number and then the largest number.

👆

5th Mar 2020, 4:18 AM
Шервон
3 Respostas
+ 2
Please specify a programming language in your question tags, '??' doesn't describe a specific language or subject. It is also recommended for you to sketch a code to show people what you have tried 👍
5th Mar 2020, 4:43 AM
Ipang
0
Dev c++
5th Mar 2020, 4:52 AM
Шервон
0
Шервон Please edit your thread, and specify the language in the tags. It still says '??' as I see it. Hint: Organize the 3 digits such that you have them ordered in ascending and descending order, by their value. This way you know the largest and smallest number that can be created by combining the digits. For example 4, 9, 7 (3 digits). Ascending order -> 479, smallest number with the 3 digits. Descending order -> 974, the largest number with the 3 digits. Good luck! 👍
5th Mar 2020, 8:18 AM
Ipang