/**
 * Given the length and width of a room, calculate the total cost of designing the room with a given cost per square meter.
 *
 * @param lengthOfRoom The length of the room in meters.
 * @param widthOfRoom The width of the room in meters.
 * @param costPerSquareMeter The cost per square meter for designing the room.
 * @return The total cost of designing the room.
 */
fun calculateCost(lengthOfRoom: Double, widthOfRoom: Double, costPerSquareMeter: Double): Double {

    val areaOfRoom = lengthOfRoom * widthOfRoom
    val totalCost = areaOfRoom * costPerSquareMeter

    if (totalCost < 500) {
        // Code to skip the current room and move to the next one
    }

    return totalCost
}
/**
 * Given the length and width of a room, calculate the total cost of designing the room with a given cost per square meter.
 *
 * @param lengthOfRoom The length of the room in meters.
 * @param widthOfRoom The width of the room in meters.
 * @param costPerSquareMeter The cost per square meter for designing the room.
 * @return The total cost of designing the room.
 */
fun calculateCost(lengthOfRoom: Double, widthOfRoom: Double, costPerSquareMeter: Double): Double {
/**
 * Given the length and width of a room, calculate the total cost of designing the room with a given cost per square meter.
 *
 * @param lengthOfRoom The length of the room in meters.
 * @param widthOfRoom The width of the room in meters.
 * @param costPerSquareMeter The cost per square meter for designing the room.
 * @return The total cost of designing the room.
 */
fun calculateCost(lengthOfRoom: Double, widthOfRoom: Double, costPerSquareMeter: Double): Double {

    val areaOfRoom = lengthOfRoom * widthOfRoom
    val totalCost = areaOfRoom * costPerSquareMeter

    if (totalCost < 500) {
        // Code to skip the current room and move to the next one
    }

    return totalCost
}