/**
 * This function takes in the speed and strength of an athlete and determines their performance level.
 *
 * @param speed the speed of the athlete in meters per second
 * @param strength the strength of the athlete on a scale of 1 to 10
 * @return the performance level of the athlete based on the speed and strength
 */
fun athletePerformance(speed: Double, strength: Int): String {

    return when {
        speed < 9.5 -> {
            when {
                strength > 8 -> "Exceptional Performance"
                strength > 6 -> "Great Performance"
                strength > 4 -> "Good Performance"
                else -> "Average Performance"
            }
        }
        speed < 10 -> {
            when {
                strength > 7 -> "Great Performance"
                strength > 5 -> "Good Performance"
                else -> "Average Performance"
            }
        }
        else -> "Average Performance"
    }
}
/**
 * This function takes in the speed and strength of an athlete and determines their performance level.
 *
 * @param speed the speed of the athlete in meters per second
 * @param strength the strength of the athlete on a scale of 1 to 10
 * @return the performance level of the athlete based on the speed and strength
 */
fun athletePerformance(speed: Double, strength: Int): String {
/**
 * This function takes in the speed and strength of an athlete and determines their performance level.
 *
 * @param speed the speed of the athlete in meters per second
 * @param strength the strength of the athlete on a scale of 1 to 10
 * @return the performance level of the athlete based on the speed and strength
 */
fun athletePerformance(speed: Double, strength: Int): String {

    return when {
        speed < 9.5 -> {
            when {
                strength > 8 -> "Exceptional Performance"
                strength > 6 -> "Great Performance"
                strength > 4 -> "Good Performance"
                else -> "Average Performance"
            }
        }
        speed < 10 -> {
            when {
                strength > 7 -> "Great Performance"
                strength > 5 -> "Good Performance"
                else -> "Average Performance"
            }
        }
        else -> "Average Performance"
    }
}