Skip to content

Latest commit

 

History

History
20 lines (12 loc) · 538 Bytes

File metadata and controls

20 lines (12 loc) · 538 Bytes

Name: volumeofcylinder()

Examples:

println(volumeofcylinder(5,10));

Description:

This function will find the volume of a cylinder. A cylinder is a solid geometric figure with straight parallel sides and a circular or oval cross section. When finding the volume, the amount of space that a substance or object occupies, or that is enclosed within a container is being found.

Syntax:

volumeofcylinder(radius,height)

##Parameters: r float: radius of the cylinder

h float: height of the cylinder

##Returns: float