/**
 * A civil engineer is designing a concrete structure.
 * He needs to determine the volume of concrete required for the structure.
 *
 * The formula for calculating the volume of concrete is:
 * Volume = height * width * length
 *
 * Write a while loop that calculates and returns the volume of concrete required.
 *
 * @param height The height of the structure in meters.
 * @param width The width of the structure in meters.
 * @param length The length of the structure in meters.
 * @return The volume of concrete required in cubic meters.
 */
fun calculateConcreteVolume(height: Double, width: Double, length: Double): Double {

    var volume = 0.0

    var currentHeight = height
    while (currentHeight > 0.0) {
        volume = currentHeight * width * length
        currentHeight -= 0.1
    }

    return volume
}
/**
 * A civil engineer is designing a concrete structure.
 * He needs to determine the volume of concrete required for the structure.
 *
 * The formula for calculating the volume of concrete is:
 * Volume = height * width * length
 *
 * Write a while loop that calculates and returns the volume of concrete required.
 *
 * @param height The height of the structure in meters.
 * @param width The width of the structure in meters.
 * @param length The length of the structure in meters.
 * @return The volume of concrete required in cubic meters.
 */
fun calculateConcreteVolume(height: Double, width: Double, length: Double): Double {
/**
 * A civil engineer is designing a concrete structure.
 * He needs to determine the volume of concrete required for the structure.
 *
 * The formula for calculating the volume of concrete is:
 * Volume = height * width * length
 *
 * Write a while loop that calculates and returns the volume of concrete required.
 *
 * @param height The height of the structure in meters.
 * @param width The width of the structure in meters.
 * @param length The length of the structure in meters.
 * @return The volume of concrete required in cubic meters.
 */
fun calculateConcreteVolume(height: Double, width: Double, length: Double): Double {

    var volume = 0.0

    var currentHeight = height
    while (currentHeight > 0.0) {
        volume = currentHeight * width * length
        currentHeight -= 0.1
    }

    return volume
}