#include "sloth.h" //Sloth constructor Sloth::Sloth() : Animal() { //initiailize the unique members to Sloth cout << "Sloth()" << endl; this->speed = 8.6; this->name = "sloth"; this->age = 7; } Sloth::~Sloth() { cout << "~Sloth()" << endl; } void Sloth::print() { cout << "==============" << endl; cout << "Name: " << this->name << endl; cout << "Age: " << this->age << endl; cout << "Speed: " << this->speed << endl; cout << "==============" << endl; } void Sloth::make_noise(int num) { for (int i = 0; i < num; ++i) { cout << "Sloth noise" << endl; } }