/**
 * This function takes three arguments: levels (Int), extinguisher (String), and equipment (String).
 * It checks if a firefighter has the required skills to handle a particular fire situation.
 * The levels argument represents the firefighter's skill level.
 * The extinguisher argument represents the type of fire extinguisher they possess.
 * The equipment argument represents any additional equipment they have.
 *
 * @return A message indicating whether the firefighter is capable of handling the fire.
 */
fun firefightingSkills(levels: Int, extinguisher: String, equipment: String): String {

    return if (levels <= 4 && (extinguisher == "ABC" || extinguisher == "BCD") && equipment == "Thermal Imaging Camera") {
        "The firefighter has the necessary skills and equipment to handle the fire."
    } else {
        "The firefighter does not have the required skills and equipment to handle the fire."
    }
}
/**
 * This function takes three arguments: levels (Int), extinguisher (String), and equipment (String).
 * It checks if a firefighter has the required skills to handle a particular fire situation.
 * The levels argument represents the firefighter's skill level.
 * The extinguisher argument represents the type of fire extinguisher they possess.
 * The equipment argument represents any additional equipment they have.
 *
 * @return A message indicating whether the firefighter is capable of handling the fire.
 */
fun firefightingSkills(levels: Int, extinguisher: String, equipment: String): String {
/**
 * This function takes three arguments: levels (Int), extinguisher (String), and equipment (String).
 * It checks if a firefighter has the required skills to handle a particular fire situation.
 * The levels argument represents the firefighter's skill level.
 * The extinguisher argument represents the type of fire extinguisher they possess.
 * The equipment argument represents any additional equipment they have.
 *
 * @return A message indicating whether the firefighter is capable of handling the fire.
 */
fun firefightingSkills(levels: Int, extinguisher: String, equipment: String): String {

    return if (levels <= 4 && (extinguisher == "ABC" || extinguisher == "BCD") && equipment == "Thermal Imaging Camera") {
        "The firefighter has the necessary skills and equipment to handle the fire."
    } else {
        "The firefighter does not have the required skills and equipment to handle the fire."
    }
}