/**
 * A carpenter needs to calculate the total amount of lumber needed for a project.
 * The lumber comes in boards of a specified length and width, and the carpenter needs a certain number of boards.
 * The function should calculate the amount of lumber needed in linear feet.
 */
fun calculateMaterialsNeeded(lumberLength: Double, boardWidth: Double, numBoards: Int): Triple<Double, Double, Double> {

    // Calculate the total length of lumber needed
    val totalLength = lumberLength * numBoards

    // Calculate the total area of lumber needed
    val totalArea = lumberLength * boardWidth * numBoards

    // Calculate the total volume of lumber needed
    val totalVolume = lumberLength * boardWidth * numBoards

    return Triple(totalLength, totalArea, totalVolume)
}
/**
 * A carpenter needs to calculate the total amount of lumber needed for a project.
 * The lumber comes in boards of a specified length and width, and the carpenter needs a certain number of boards.
 * The function should calculate the amount of lumber needed in linear feet.
 */
fun calculateMaterialsNeeded(lumberLength: Double, boardWidth: Double, numBoards: Int): Triple<Double, Double, Double> {
/**
 * A carpenter needs to calculate the total amount of lumber needed for a project.
 * The lumber comes in boards of a specified length and width, and the carpenter needs a certain number of boards.
 * The function should calculate the amount of lumber needed in linear feet.
 */
fun calculateMaterialsNeeded(lumberLength: Double, boardWidth: Double, numBoards: Int): Triple<Double, Double, Double> {

    // Calculate the total length of lumber needed
    val totalLength = lumberLength * numBoards

    // Calculate the total area of lumber needed
    val totalArea = lumberLength * boardWidth * numBoards

    // Calculate the total volume of lumber needed
    val totalVolume = lumberLength * boardWidth * numBoards

    return Triple(totalLength, totalArea, totalVolume)
}