/**
 * A lawyer needs to calculate the volume of a pyramid.
 * The base of the pyramid is a rectangle with the given [baseLength] and [baseWidth],
 * and the height is given by [height].
 * Complete the code to calculate the volume of the pyramid using the provided formula:
 * 'volume = (baseLength * baseWidth * height) / 3`
 * Return the calculated volume.
 *
 * @param baseLength The length of the base of the pyramid.
 * @param baseWidth The width of the base of the pyramid.
 * @param height The height of the pyramid.
 * @return The calculated volume of the pyramid.
 */
fun calculatePyramidVolume(baseLength: Double, baseWidth: Double, height: Double): Double {

    val volume = (baseLength * baseWidth * height) / 3
    return volume
}
/**
 * A lawyer needs to calculate the volume of a pyramid.
 * The base of the pyramid is a rectangle with the given [baseLength] and [baseWidth],
 * and the height is given by [height].
 * Complete the code to calculate the volume of the pyramid using the provided formula:
 * 'volume = (baseLength * baseWidth * height) / 3`
 * Return the calculated volume.
 *
 * @param baseLength The length of the base of the pyramid.
 * @param baseWidth The width of the base of the pyramid.
 * @param height The height of the pyramid.
 * @return The calculated volume of the pyramid.
 */
fun calculatePyramidVolume(baseLength: Double, baseWidth: Double, height: Double): Double {
/**
 * A lawyer needs to calculate the volume of a pyramid.
 * The base of the pyramid is a rectangle with the given [baseLength] and [baseWidth],
 * and the height is given by [height].
 * Complete the code to calculate the volume of the pyramid using the provided formula:
 * 'volume = (baseLength * baseWidth * height) / 3`
 * Return the calculated volume.
 *
 * @param baseLength The length of the base of the pyramid.
 * @param baseWidth The width of the base of the pyramid.
 * @param height The height of the pyramid.
 * @return The calculated volume of the pyramid.
 */
fun calculatePyramidVolume(baseLength: Double, baseWidth: Double, height: Double): Double {

    val volume = (baseLength * baseWidth * height) / 3
    return volume
}