/**
 * This function checks the vaccine status of an animal based on its age.
 *
 * @param animalAge The current age of the animal in months.
 * @param vaccineStatus The vaccination status of the animal. True if vaccinated, False otherwise.
 * @return True if the animal needs vaccination, False otherwise.
 */
fun checkVaccineStatus(animalAge: Int, vaccineStatus: Boolean): Boolean {

    val minVaccineAge = 3
    val maxVaccineAge = 6

    return animalAge < maxVaccineAge && !vaccineStatus
}

// Exercise
// A veterinarian is checking the vaccine status of animals. Complete the function checkVaccineStatus
// to return True if the animal needs vaccination, otherwise return False. An animal needs vaccination
// if its age is less than 6 months and it has not been vaccinated yet.
/**
 * This function checks the vaccine status of an animal based on its age.
 *
 * @param animalAge The current age of the animal in months.
 * @param vaccineStatus The vaccination status of the animal. True if vaccinated, False otherwise.
 * @return True if the animal needs vaccination, False otherwise.
 */
fun checkVaccineStatus(animalAge: Int, vaccineStatus: Boolean): Boolean {
/**
 * This function checks the vaccine status of an animal based on its age.
 *
 * @param animalAge The current age of the animal in months.
 * @param vaccineStatus The vaccination status of the animal. True if vaccinated, False otherwise.
 * @return True if the animal needs vaccination, False otherwise.
 */
fun checkVaccineStatus(animalAge: Int, vaccineStatus: Boolean): Boolean {

    val minVaccineAge = 3
    val maxVaccineAge = 6

    return animalAge < maxVaccineAge && !vaccineStatus
}

// Exercise
// A veterinarian is checking the vaccine status of animals. Complete the function checkVaccineStatus
// to return True if the animal needs vaccination, otherwise return False. An animal needs vaccination
// if its age is less than 6 months and it has not been vaccinated yet.