/**
 * We are designing a room for an interior designer. The designer wants us to calculate the total cost
 * of installing a wooden floor in the given room. The cost of the wooden floor is measured per square
 * foot. We need to calculate the total cost by slicing the given input string. Implement the code
 * using Kotlin.
 *
 * @param roomLength The length of the room in feet.
 * @param roomWidth The width of the room in feet.
 * @param costPerSqft The cost of wooden floor per square foot.
 * @return The total cost of installing the wooden floor in the room.
 */
fun calculateTotalCost(roomLength: Int, roomWidth: Int, costPerSqft: Float): Float {

    // Calculating the total area of the room
    val roomArea = roomLength * roomWidth

    // Calculating the total cost
    val totalCost = roomArea * costPerSqft

    return totalCost
}
/**
 * We are designing a room for an interior designer. The designer wants us to calculate the total cost
 * of installing a wooden floor in the given room. The cost of the wooden floor is measured per square
 * foot. We need to calculate the total cost by slicing the given input string. Implement the code
 * using Kotlin.
 *
 * @param roomLength The length of the room in feet.
 * @param roomWidth The width of the room in feet.
 * @param costPerSqft The cost of wooden floor per square foot.
 * @return The total cost of installing the wooden floor in the room.
 */
fun calculateTotalCost(roomLength: Int, roomWidth: Int, costPerSqft: Float): Float {
/**
 * We are designing a room for an interior designer. The designer wants us to calculate the total cost
 * of installing a wooden floor in the given room. The cost of the wooden floor is measured per square
 * foot. We need to calculate the total cost by slicing the given input string. Implement the code
 * using Kotlin.
 *
 * @param roomLength The length of the room in feet.
 * @param roomWidth The width of the room in feet.
 * @param costPerSqft The cost of wooden floor per square foot.
 * @return The total cost of installing the wooden floor in the room.
 */
fun calculateTotalCost(roomLength: Int, roomWidth: Int, costPerSqft: Float): Float {

    // Calculating the total area of the room
    val roomArea = roomLength * roomWidth

    // Calculating the total cost
    val totalCost = roomArea * costPerSqft

    return totalCost
}