Question
My issue is understanding how to use vectors. Here is the code. (main.cpp) #include #include #include #include // to use sort() using namespace std; const
My issue is understanding how to use vectors.
Here is the code.
(main.cpp)
#include
const int NUM_VALUES = 5;
// Input NUM_VALUES of TheType into the vector parameter template
// Output the elements of the vector parameter template // Return the min, median, and max of the vector parameter in a new vector template // Read values into a vector, sort the vector, output the sorted vector, // then output the min, median, and max of the sorted vector template int main() { vector vector vector return 0; }
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started