Chapter 13: Problem 5
Consider the following class definition: class circle class cylinder: public circle { { public: public: void print() const; void print() const; void setRadius(double); void setHeight(double); double getRadius(); double getHeight(); double area(); double volume(); circle(); double area(); circle(double); cylinder(); cylinder(double, double); private: private: double radius; double height; }; }; Suppose that you have the declaration: cylinder newCylinder;
Short Answer
Step by step solution
Key Concepts
These are the key concepts you need to understand to accurately answer the question.