Question: Write a function void printVector(const vector &v) that prints the minimum, mean, and maximum of the values in the given vector separated by spaces. For
Write a function void printVector(const vector
For example,
vector
and If the given vector is empty, your function should print Empty vector.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
