Planet Linear Chaos is populated by isomorphs. They are believed to have invented sorting algorithms. Everything in their heads is extremely well-ordered. They only issue planetary visas to people who know at least 7 sorting algorithms. Let's take our first step toward Linear Chaos: Read three numbers from the keyboard, put them in descending order, and then display them on the screen.
Sorting three numbers
You must be signed in to leave a comment
19 October 2022, 15:44
after 5 attempts i solved.... put the equals "=" in the right place
Sharon de Jong
23 September 2022, 17:43
Good exercise, though I feel the instructions could have been more explicit on what to do when the numbers are the same.
5 January 2022, 22:59
Something is wrong! it keeps asking me to put them in descending order while they are in descending order.
Steve C. Ands
2 December 2021, 18:07
6 December 2021, 09:35
Show me your code, please
17 July 2021, 22:43
I'm always over-thinking the solution.....I know there is probably a more efficient way of solving these however we need to stick to the lesson. So....if - else if...
15 July 2021, 17:41
I solved task with IF ELSE statement only!
Usman Full Stack Developer at QA
27 June 2021, 21:19
sorted via a temporary variable here
21 June 2021, 21:24
succeeded with Arrays.sort here
26 April 2021, 19:07
if you use Math.max and Math.min and find the medium ,you wont need to write alot of codes.
17 April 2021, 16:51
This one was a bit tough, not impossible though. I recommend if you are not familiar with arrays yet, use nested if else and <= or >= .