A cuboid is a three-dimensional figure which is bounded by 6 rectangular planes, they have different magnitude of length, width and height.
Formula to find surface area of a cuboid: 2( length*width + length*height + height*width)
Given length, width and height, we have to find surface area of a cuboid.
Example:
Input:
length = 3
width = 4
height = 6
Output:
Surface Area of Cuboid is :108.0
Program to find surface area of a cuboid in Kotlin
Output
need an explanation for this answer? contact us directly to get an explanation for this answer