Create aderived class for Cone called PartialCone. Add a second radius variable with scope specific to this class (because the top and bottom radii of a partial cone are different). Redefine the set_volume function.
The formula for the volume of a partial/truncated cone is:
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here