Question: void print_range(const vector & data) { /* TODO: Display the starting message for menu option 3, read the users chosen range, verify that the indices
void print_range(const vector
Parameters: data -> a vector (string), passed by reference, that cannot be modified (const), which holds the all the data (and the user will print some of it in a range)
Hints: You can determine the range of the data by checking the size of the vector. You need to make sure the range is valid for the given dataset (think about what values the user could give that would be invalid). Check the write-up to make sure you are printing the data in the expected format. */ }
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
