Question: Declare two integer vectors and place 5 random values in one and 4 random value in the other vector. Use the functions in the STL
Declare two integer vectors and place 5 random values in one and 4 random value in the other vector. Use the functions in the STL algorithm to sort both vectors and merge them. Use an iterator to print each value of the merged vector.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
