/**
 * A function to calculate tree growth index based on age, rainfall, and temperature
 */
fun calculateTreeGrowth(age: Int, rainfall: Int, temperature: Int): String {

    return when {
        (age in 11..19 || rainfall > 500 && temperature > 25) -> "Good tree growth index"
        (age in 20..30 && rainfall >= 300 && temperature >= 20) -> "Excellent tree growth index"
        else -> "Unknown tree growth index"
    }
}
/**
 * A function to calculate tree growth index based on age, rainfall, and temperature
 */
fun calculateTreeGrowth(age: Int, rainfall: Int, temperature: Int): String {
/**
 * A function to calculate tree growth index based on age, rainfall, and temperature
 */
fun calculateTreeGrowth(age: Int, rainfall: Int, temperature: Int): String {

    return when {
        (age in 11..19 || rainfall > 500 && temperature > 25) -> "Good tree growth index"
        (age in 20..30 && rainfall >= 300 && temperature >= 20) -> "Excellent tree growth index"
        else -> "Unknown tree growth index"
    }
}