Honor Code Acknowledgment: ___________________
yields the vector below
Complete the function below the following header. For full credit you
cannot define another Vector variable, you must
double "in place" using only the parameter list. Assume
that list is full (in the example above, before doubling
list would have room for exactly three strings.)
Problem 1: Gemini Rising (5 points)
Write a function that "doubles" a vector by replacing every element in
the vector with two identical elements. For example, doubling
the following vector of strings
"apple" "orange" "pear"
"apple" "apple" "orange"
"orange" "pear" "pear"