/**
 * You are a marketing manager and you want to check whether a person is eligible for a special promotion or not.
 * The eligibility criteria are:
 * - The age of the person should be between 25 and 40 (both inclusive)
 * - The person's salary should be above $5000
 *
 * @param age The age of the person.
 * @param salary The salary of the person.
 * @return True if the person is eligible for the promotion, False otherwise.
 *
 * Example:
 * checkPromotionEligibility(30, 6000) -> true
 * checkPromotionEligibility(23, 4000) -> false
 */
fun checkPromotionEligibility(age: Int, salary: Double): Boolean {

    return age in 25..40 && salary > 5000
}
/**
 * You are a marketing manager and you want to check whether a person is eligible for a special promotion or not.
 * The eligibility criteria are:
 * - The age of the person should be between 25 and 40 (both inclusive)
 * - The person's salary should be above $5000
 *
 * @param age The age of the person.
 * @param salary The salary of the person.
 * @return True if the person is eligible for the promotion, False otherwise.
 *
 * Example:
 * checkPromotionEligibility(30, 6000) -> true
 * checkPromotionEligibility(23, 4000) -> false
 */
fun checkPromotionEligibility(age: Int, salary: Double): Boolean {
/**
 * You are a marketing manager and you want to check whether a person is eligible for a special promotion or not.
 * The eligibility criteria are:
 * - The age of the person should be between 25 and 40 (both inclusive)
 * - The person's salary should be above $5000
 *
 * @param age The age of the person.
 * @param salary The salary of the person.
 * @return True if the person is eligible for the promotion, False otherwise.
 *
 * Example:
 * checkPromotionEligibility(30, 6000) -> true
 * checkPromotionEligibility(23, 4000) -> false
 */
fun checkPromotionEligibility(age: Int, salary: Double): Boolean {

    return age in 25..40 && salary > 5000
}