/**
 * This function calculates the total area of a room given its length, width, and height.
 *
 * @param length The length of the room in feet.
 * @param width The width of the room in feet.
 * @param height The height of the room in feet.
 * @return The total area of the room in square feet.
 */
fun calculateTotalArea(length: Double, width: Double, height: Double): Double {

    val floorArea = length * width
    val wallArea = (2 * length + 2 * width) * height
    val ceilingArea = length * width
    
    val totalArea = floorArea + wallArea + ceilingArea
    
    return totalArea
}
/**
 * This function calculates the total area of a room given its length, width, and height.
 *
 * @param length The length of the room in feet.
 * @param width The width of the room in feet.
 * @param height The height of the room in feet.
 * @return The total area of the room in square feet.
 */
fun calculateTotalArea(length: Double, width: Double, height: Double): Double {
/**
 * This function calculates the total area of a room given its length, width, and height.
 *
 * @param length The length of the room in feet.
 * @param width The width of the room in feet.
 * @param height The height of the room in feet.
 * @return The total area of the room in square feet.
 */
fun calculateTotalArea(length: Double, width: Double, height: Double): Double {

    val floorArea = length * width
    val wallArea = (2 * length + 2 * width) * height
    val ceilingArea = length * width
    
    val totalArea = floorArea + wallArea + ceilingArea
    
    return totalArea
}