/**
 * Calculates the amount of lumber needed for a carpentry project.
 *
 * @param length The length of the project in feet.
 * @param width The width of the project in feet.
 * @param depth The depth of the project in inches.
 * @return The total amount of lumber needed in board feet.
 */
fun calculateLumberNeeded(length: Double, width: Double, depth: Double): Double {

    // Convert depth from inches to feet
    val depthFt = depth / 12.0

    // Calculate the area in square feet
    val area = length * width

    // Determine the amount of lumber needed based on the area and depth
    if (area < 100 || depthFt < 1) {
        return 0.0  // Project is too small, no lumber needed
    }

    // Calculate the amount of lumber needed in board feet
    val lumberNeeded = area * depthFt / 12.0

    return lumberNeeded
}
/**
 * Calculates the amount of lumber needed for a carpentry project.
 *
 * @param length The length of the project in feet.
 * @param width The width of the project in feet.
 * @param depth The depth of the project in inches.
 * @return The total amount of lumber needed in board feet.
 */
fun calculateLumberNeeded(length: Double, width: Double, depth: Double): Double {
/**
 * Calculates the amount of lumber needed for a carpentry project.
 *
 * @param length The length of the project in feet.
 * @param width The width of the project in feet.
 * @param depth The depth of the project in inches.
 * @return The total amount of lumber needed in board feet.
 */
fun calculateLumberNeeded(length: Double, width: Double, depth: Double): Double {

    // Convert depth from inches to feet
    val depthFt = depth / 12.0

    // Calculate the area in square feet
    val area = length * width

    // Determine the amount of lumber needed based on the area and depth
    if (area < 100 || depthFt < 1) {
        return 0.0  // Project is too small, no lumber needed
    }

    // Calculate the amount of lumber needed in board feet
    val lumberNeeded = area * depthFt / 12.0

    return lumberNeeded
}