/**
 * This exercise tests your understanding of nested ternary operators and their application in the carpentry domain.
 */
fun carpenterSkills(addition: Int, tool: String): Int? {

    return when (tool) {
        "hammer" -> addition
        "saw" -> addition + 1
        "chisel" -> addition + 2
        else -> null
    }
}
/**
 * This exercise tests your understanding of nested ternary operators and their application in the carpentry domain.
 */
fun carpenterSkills(addition: Int, tool: String): Int? {
/**
 * This exercise tests your understanding of nested ternary operators and their application in the carpentry domain.
 */
fun carpenterSkills(addition: Int, tool: String): Int? {

    return when (tool) {
        "hammer" -> addition
        "saw" -> addition + 1
        "chisel" -> addition + 2
        else -> null
    }
}