(Revise selection sort) In Section 7.10, you used selection sort to sort an array. The selection-sort function repeatedly finds the smallest number in the current array and swaps it with the first. Rewrite this example by finding the largest number and swapping it with the last number in the array. Write a test program that reads in an array of 10 double numbers, invokes the function, and displays the sorted numbers.
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.