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
- 8
Locked
Comments (43)
- Popular
- New
- Old
You must be signed in to leave a comment
furius72
19 October 2022, 15:44
after 5 attempts i solved.... put the equals "=" in the right place
0
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.
0
Elektra
5 January 2022, 22:59
Something is wrong!
it keeps asking me to put them in descending order while they are in descending order.
+1
Steve C. Ands
2 December 2021, 18:07
Error?
![]()

+1
Roman
6 December 2021, 09:35
Show me your code, please
0
ron_villela
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...
0
Toka
15 July 2021, 17:41
I solved task with IF ELSE statement only!
+1
Usman Full Stack Developer at QA
27 June 2021, 21:19
sorted via a temporary variable here
0
coffeemess
21 June 2021, 21:24
succeeded with Arrays.sort here
0
Omr
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.
+1
Ice_ Beam
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 >= .
0