/**
 * This function takes three arguments, representing the tools a carpenter should have.
 * It returns the missing tool by replacing the missing tool with null.
 */
fun findMissingTools(tool1: String?, tool2: String?, tool3: String?): String {

    if (tool1 == null || tool2 == null || tool3 == null) {  // Checking if any tool is missing
        var missingTool: String? = null
        if (tool1 == null) {
            missingTool = "Tool 1 is missing"
        } else if (tool2 == null) {
            missingTool = "Tool 2 is missing"
        } else if (tool3 == null) {
            missingTool = "Tool 3 is missing"
        }
        return missingTool ?: ""
    } else {
        return "All tools are present"
    }
}
/**
 * This function takes three arguments, representing the tools a carpenter should have.
 * It returns the missing tool by replacing the missing tool with null.
 */
fun findMissingTools(tool1: String?, tool2: String?, tool3: String?): String {
/**
 * This function takes three arguments, representing the tools a carpenter should have.
 * It returns the missing tool by replacing the missing tool with null.
 */
fun findMissingTools(tool1: String?, tool2: String?, tool3: String?): String {

    if (tool1 == null || tool2 == null || tool3 == null) {  // Checking if any tool is missing
        var missingTool: String? = null
        if (tool1 == null) {
            missingTool = "Tool 1 is missing"
        } else if (tool2 == null) {
            missingTool = "Tool 2 is missing"
        } else if (tool3 == null) {
            missingTool = "Tool 3 is missing"
        }
        return missingTool ?: ""
    } else {
        return "All tools are present"
    }
}