0
[đ Challenge đ] Array sort
Write a program that sortes the first half of the entered array in descending order and the other half in the rising order. Example: input: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 output: 5, 4, 3, 2, 1, 6, 7, 8, 9, 10
1 Answer