/**
 * Calculate the total area of all walls in a room.
 *
 * The function takes the length and height of each wall as arguments and
 * returns the sum of the areas of all walls.
 *
 * @param length The length of each wall in meters.
 * @param height The height of each wall in meters.
 * @return The total area of all walls in square meters.
 */
fun calculateWallArea(length: Double, height: Double): Double {

    var totalArea = 0.0
    for (wall in 1..4) {
        val area = length * height
        totalArea += area
    }
    return totalArea
}
/**
 * Calculate the total area of all walls in a room.
 *
 * The function takes the length and height of each wall as arguments and
 * returns the sum of the areas of all walls.
 *
 * @param length The length of each wall in meters.
 * @param height The height of each wall in meters.
 * @return The total area of all walls in square meters.
 */
fun calculateWallArea(length: Double, height: Double): Double {
/**
 * Calculate the total area of all walls in a room.
 *
 * The function takes the length and height of each wall as arguments and
 * returns the sum of the areas of all walls.
 *
 * @param length The length of each wall in meters.
 * @param height The height of each wall in meters.
 * @return The total area of all walls in square meters.
 */
fun calculateWallArea(length: Double, height: Double): Double {

    var totalArea = 0.0
    for (wall in 1..4) {
        val area = length * height
        totalArea += area
    }
    return totalArea
}