/**
 * Calculate the age of an astronomer based on the year they were born and the current year.
 *
 * @param yearBorn The year the astronomer was born.
 * @param currentYear The current year.
 * @return The age of the astronomer.
 *
 * Example:
 * calculateAge(1950, 2021) // 71
 */
fun calculateAge(yearBorn: Int, currentYear: Int): Int? {

    val age = if (currentYear >= yearBorn) currentYear - yearBorn else null
    return age
}
/**
 * Calculate the age of an astronomer based on the year they were born and the current year.
 *
 * @param yearBorn The year the astronomer was born.
 * @param currentYear The current year.
 * @return The age of the astronomer.
 *
 * Example:
 * calculateAge(1950, 2021) // 71
 */
fun calculateAge(yearBorn: Int, currentYear: Int): Int? {
/**
 * Calculate the age of an astronomer based on the year they were born and the current year.
 *
 * @param yearBorn The year the astronomer was born.
 * @param currentYear The current year.
 * @return The age of the astronomer.
 *
 * Example:
 * calculateAge(1950, 2021) // 71
 */
fun calculateAge(yearBorn: Int, currentYear: Int): Int? {

    val age = if (currentYear >= yearBorn) currentYear - yearBorn else null
    return age
}