/**
 * Given the length of a lumber board and the width of a wall, 
 * calculate the number of boards needed to cover the wall.
 * 
 * @param lumberLength The length of a lumber board.
 * @param wallWidth The width of the wall.
 * @return The number of lumber boards needed to cover the wall.
 */
fun calculateLumberNeeded(lumberLength: Int, wallWidth: Int): Float {

    return try {
        val numBoards = wallWidth.toFloat() / lumberLength
        numBoards
    } catch (e: ArithmeticException) {
        0.0f
    }
}
/**
 * Given the length of a lumber board and the width of a wall, 
 * calculate the number of boards needed to cover the wall.
 * 
 * @param lumberLength The length of a lumber board.
 * @param wallWidth The width of the wall.
 * @return The number of lumber boards needed to cover the wall.
 */
fun calculateLumberNeeded(lumberLength: Int, wallWidth: Int): Float {
/**
 * Given the length of a lumber board and the width of a wall, 
 * calculate the number of boards needed to cover the wall.
 * 
 * @param lumberLength The length of a lumber board.
 * @param wallWidth The width of the wall.
 * @return The number of lumber boards needed to cover the wall.
 */
fun calculateLumberNeeded(lumberLength: Int, wallWidth: Int): Float {

    return try {
        val numBoards = wallWidth.toFloat() / lumberLength
        numBoards
    } catch (e: ArithmeticException) {
        0.0f
    }
}