#include #include using namespace std; bool member_of(int x, vector v); void test(const int value, const vector vec); int main() { vector vec; vec.push_back(30); vec.push_back(10); vec.push_back(50); vec.push_back(80); vec.push_back(60); vec.push_back(12); vec.push_back(40); vec.push_back(20); vec.push_back(70); cout << "The vector: "; for (int i : vec) { cout << i << " "; } cout << endl << endl; test(50, vec); test(65, vec); test(80, vec); test(47, vec); } void test(const int value, const vector vec) { cout << value << " is"; bool found = member_of(value, vec); if (!found) cout << " not"; cout << " in the vector." << endl; } bool member_of(int x, vector v) { // Complete as a recursive function. return false; }