Write a program. 6 Input the height of the cylinder. As stated earlier the cylinder is made up of two circles that are similar and parallel so the distance between them is the height.
Contribute your code and comments through Disqus.
Calculate the surface area of different geometrical shapes The surface area is the surface part of a three-dimensional object. Multiply the area of the base by the height. Calculate the volume of a cylinder such as a beer can or a hose using many different dimensions for both input and output. As stated earlier the cylinder is made up of two circles that are similar and parallel so the distance between them is the height.