C++
Implement ONLY the following function given the pre and
post conditions.. (Note: including additional code than the
function will impact grade). A precondition is what should be true
before calling a function to get the correct results. A post
condition is what is true AFTER the function is done.
// Precondition : items is an array of count integers
// Postcondition : Returns a vector containing only the items
// that are divisible by the passed divisor.
// (Note: no print statements and the original items list should not be modified)
// For example, if we call:
// keep_divisible([2,7,5,6,21,8],6,7) will return [7, 21]
std::vector<int> keep_divisible(const int items[], unsigned int count, int divisor);