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
Accountancy,
3 months ago
Math,
3 months ago
English,
8 months ago
Chemistry,
11 months ago
English,
11 months ago