Computer Science, asked by nikshithareddy, 7 months ago

Design a class to overload a function volume () as follows:1.double volume (double r): with radius (r) as an argument,returns the volume sphere using formula.V=4/3*22/7π*r*r*r 2. double volume (double h, double r) with height (h) and radius (r) as the arguments the volume of cylinder using formula V=22/7*r*r*h3. the volume of cuboid using formula V=l*b*h​

Answers

Answered by sangeetaparihar0608
0

Answer:

Make me Brainlist and follow me in Brainly

Similar questions