Computer Science A - 12/10/99 Directions: Write a recursive function to calculate the product of the components of a vector. Assume at least one component exists. Declarations: apvector Numbers; int subscript = Numbers.length() - 1; int product; void getProduct(const apvector& Numbers, int subscript, int& product) { if(subscript == 0) product = Numbers(subscript); else { getProduct(Numbers, subscript - 1, product); product *= Numbers[subscript]; } }