#include #include using namespace std; // NO MODIFICATIONS OF THIS FUNCTION void print_verse(Animal const* animal) { cout << "Old MacDonald had a farm, E-I-E-I-O," << endl << "And on that farm he had a " << animal->name() << ", E-I-E-I-O," << endl << "With a " << animal->noise() << " " << animal->noise() << " here and a " << animal->noise() << " " << animal->noise() << " there" << endl << "Here a " << animal->noise() << ", there a " << animal->noise() << ", everywhere a " << animal->noise() << " " << animal->noise() << endl << "Old MacDonald had a farm, E-I-E-I-O." << endl << endl; } int main() { // Create a vector with Animals // Insert at least three different animals in the vector // Iterate the vector and call print_verse with each animal // Clean up any allocated memory return 0; }