write a sorting function that is similar to Display 7.12 in Chapter 7 except
that it has an argument for a vector of ints rather than an array. This function
will not need a parameter like number_used as in Display 7.12, since a
vector can determine the number used with the member function size().
This sort function will have only this one parameter, which will be of a vector
type. Use the selection sort algorithm (which was used in Display 7.12).
Sorry the answer is not available at the moment…
If you are able to find the answer, please make sure to post it here. So that your Juniors have smile on their lips and feel happy.
Spread the 'tradition of sharing'.