/**
 * This function checks if an electrician is eligible for a job.
 *
 * @param age the age of the electrician
 * @param yearsOfExperience the number of years of experience the electrician has
 * @param isCertified boolean indicating if the electrician is certified or not
 * @return true if the electrician is eligible, false if the electrician is not eligible
 */
fun isElectricianEligible(age: Int, yearsOfExperience: Int, isCertified: Boolean): Boolean {

    if (age >= 18) {
        if (yearsOfExperience >= 5) {
            if (isCertified) {
                return true
            } else {
                return false
            }
        }
    }
    return false
}
/**
 * This function checks if an electrician is eligible for a job.
 *
 * @param age the age of the electrician
 * @param yearsOfExperience the number of years of experience the electrician has
 * @param isCertified boolean indicating if the electrician is certified or not
 * @return true if the electrician is eligible, false if the electrician is not eligible
 */
fun isElectricianEligible(age: Int, yearsOfExperience: Int, isCertified: Boolean): Boolean {
/**
 * This function checks if an electrician is eligible for a job.
 *
 * @param age the age of the electrician
 * @param yearsOfExperience the number of years of experience the electrician has
 * @param isCertified boolean indicating if the electrician is certified or not
 * @return true if the electrician is eligible, false if the electrician is not eligible
 */
fun isElectricianEligible(age: Int, yearsOfExperience: Int, isCertified: Boolean): Boolean {

    if (age >= 18) {
        if (yearsOfExperience >= 5) {
            if (isCertified) {
                return true
            } else {
                return false
            }
        }
    }
    return false
}