/**
 * This function displays the name of each athlete and their average grade.
 *
 * @param athletes List containing the names of each athlete.
 * @param averageGrades List containing the average grades for each athlete.
 */
fun displayResults(athletes: List<String>, averageGrades: List<Double>) {

    for (i in athletes.indices) {
        println("${athletes[i]}: ${averageGrades[i]}")
    }
}
/**
 * This function displays the name of each athlete and their average grade.
 *
 * @param athletes List containing the names of each athlete.
 * @param averageGrades List containing the average grades for each athlete.
 */
fun displayResults(athletes: List<String>, averageGrades: List<Double>) {
/**
 * This function displays the name of each athlete and their average grade.
 *
 * @param athletes List containing the names of each athlete.
 * @param averageGrades List containing the average grades for each athlete.
 */
fun displayResults(athletes: List<String>, averageGrades: List<Double>) {

    for (i in athletes.indices) {
        println("${athletes[i]}: ${averageGrades[i]}")
    }
}