A cylinder is a three-dimensional structure which has circular bases parallel to each other.
Formula to find area of a cylinder: 2*PI*(radius+height)
Give radius and height, we have to find area of a cylinder.
Example:
Input:
Radius = 5
Height = 7
Output:
Surface Area of Cylinder is :75.39822368615503
Program to find area of a cylinder in Kotlin
Output
need an explanation for this answer? contact us directly to get an explanation for this answer