Computer Science, asked by riya9583, 2 months ago

with variable description ​
it is urgent

Attachments:

Answers

Answered by rimanpanda
2

Answer:

As you haven't mentioned which language, I will be doing it in java :)

Explanation:

class cone

{

void display Curvesurfacearevolume ( )

{

curved surface area, vol

curved surface area= π s (R+r);

vol= 1/3 *π*h* ( R^2+R*r + r^2)

system.out.print1n (" The curved surface area is" +area);

system.out.print1n (" The volume is" +vol);

}

}

Similar questions