Create a class called Circle with radius as data member and getCircle() and calcArea() as member functions to read the radius and calculate area of the circle. Create another class called Cone which is derived from the Circle class. Utilize the data members and the member functions of the base class by the derived class to find the volume ((1/3)*3.14*r*r*h) of a cone. Mention the type of inheritance.
Answers
Answered by
1
Answer:
okay don't worry okay okay okay okay okay okay okay okay okay okay okay
Similar questions