/**
 * This function calculates the total cost of a room design project.
 *
 * @param roomArea The area of the room in square feet.
 * @param flooringCost The cost of flooring material per square foot.
 * @param paintCost The cost of paint per square foot.
 * @param furnitureCost The cost of furniture.
 * @return Total cost of the room design project.
 */
fun calculateTotalCost(roomArea: Double, flooringCost: Double, paintCost: Double, furnitureCost: Double): Double {

    // Calculate the cost of flooring for the given room area
    val flooringCostTotal = roomArea * flooringCost

    // Calculate the cost of paint for the given room area
    val paintCostTotal = roomArea * paintCost

    // Calculate the total cost of the room design project
    val totalCost = flooringCostTotal + paintCostTotal + furnitureCost

    return totalCost
}
/**
 * This function calculates the total cost of a room design project.
 *
 * @param roomArea The area of the room in square feet.
 * @param flooringCost The cost of flooring material per square foot.
 * @param paintCost The cost of paint per square foot.
 * @param furnitureCost The cost of furniture.
 * @return Total cost of the room design project.
 */
fun calculateTotalCost(roomArea: Double, flooringCost: Double, paintCost: Double, furnitureCost: Double): Double {
/**
 * This function calculates the total cost of a room design project.
 *
 * @param roomArea The area of the room in square feet.
 * @param flooringCost The cost of flooring material per square foot.
 * @param paintCost The cost of paint per square foot.
 * @param furnitureCost The cost of furniture.
 * @return Total cost of the room design project.
 */
fun calculateTotalCost(roomArea: Double, flooringCost: Double, paintCost: Double, furnitureCost: Double): Double {

    // Calculate the cost of flooring for the given room area
    val flooringCostTotal = roomArea * flooringCost

    // Calculate the cost of paint for the given room area
    val paintCostTotal = roomArea * paintCost

    // Calculate the total cost of the room design project
    val totalCost = flooringCostTotal + paintCostTotal + furnitureCost

    return totalCost
}