Java program to arrange numbers in descending order
Java program to arrange numbers in descending order
Output:
Enter the number of elements to sort: 10
Enter the numbers to sort:
1 2 3 4 5 7 10 9 8 6
The Sorted Array is:
10 9 8 7 6 5 4 3 2 1
Implementation: