Below is the header for my animal class i need to create a


Below is the header for my animal class. I need to create a derived class based on my animal class. And also, write the implementataion of my animal class. #pragma once #include using namespace std; class animal{ protected: string name; int legs; double age; public: animal(); animal(string nm, int lgs, double ag); //parameterized constructor ~animal(); //default constructor string getName(); void changeName(string nm); int getLegs(); void setLegs(int lgs); double getAge(); void setAge(double ag); void eat(); void sleep(); };

Request for Solution File

Ask an Expert for Answer!!
Basic Computer Science: Below is the header for my animal class i need to create a
Reference No:- TGS0571434

Expected delivery within 24 Hours