/**
 * Given the length and width of a room, as well as the unit price per square meter,
 * calculate the total cost of flooring for that room.
 *
 * @param roomLength The length of the room in meters.
 * @param roomWidth The width of the room in meters.
 * @param unitPrice The price per square meter of the flooring.
 * @return The total cost of flooring for the given room.
 */
fun calculateTotalCost(roomLength: Double, roomWidth: Double, unitPrice: Double): Double {

    val totalArea = roomLength * roomWidth
    val totalCost = totalArea * unitPrice
    return totalCost
}
/**
 * Given the length and width of a room, as well as the unit price per square meter,
 * calculate the total cost of flooring for that room.
 *
 * @param roomLength The length of the room in meters.
 * @param roomWidth The width of the room in meters.
 * @param unitPrice The price per square meter of the flooring.
 * @return The total cost of flooring for the given room.
 */
fun calculateTotalCost(roomLength: Double, roomWidth: Double, unitPrice: Double): Double {
/**
 * Given the length and width of a room, as well as the unit price per square meter,
 * calculate the total cost of flooring for that room.
 *
 * @param roomLength The length of the room in meters.
 * @param roomWidth The width of the room in meters.
 * @param unitPrice The price per square meter of the flooring.
 * @return The total cost of flooring for the given room.
 */
fun calculateTotalCost(roomLength: Double, roomWidth: Double, unitPrice: Double): Double {

    val totalArea = roomLength * roomWidth
    val totalCost = totalArea * unitPrice
    return totalCost
}