/**
 * This function checks the air pollution level based on the number of particles and the type of gas present.
 * If the number of particles is greater than 1000 or the gas type is 'toxic', it returns true indicating high pollution.
 * Otherwise, it returns false indicating low pollution.
 *
 * @param particles The number of particles present in the air.
 * @param gas The type of gas present in the air.
 * @return true if high pollution, false if low pollution.
 */
fun checkAirPollution(particles: Int, gas: String): Boolean {

    return particles > 1000 || gas == "toxic"
}
/**
 * This function checks the air pollution level based on the number of particles and the type of gas present.
 * If the number of particles is greater than 1000 or the gas type is 'toxic', it returns true indicating high pollution.
 * Otherwise, it returns false indicating low pollution.
 *
 * @param particles The number of particles present in the air.
 * @param gas The type of gas present in the air.
 * @return true if high pollution, false if low pollution.
 */
fun checkAirPollution(particles: Int, gas: String): Boolean {
/**
 * This function checks the air pollution level based on the number of particles and the type of gas present.
 * If the number of particles is greater than 1000 or the gas type is 'toxic', it returns true indicating high pollution.
 * Otherwise, it returns false indicating low pollution.
 *
 * @param particles The number of particles present in the air.
 * @param gas The type of gas present in the air.
 * @return true if high pollution, false if low pollution.
 */
fun checkAirPollution(particles: Int, gas: String): Boolean {

    return particles > 1000 || gas == "toxic"
}