/**
 * Calculates the average speed of an athlete given the distance and time.
 *
 * @param distance The total distance covered by the athlete.
 * @param time The total time taken by the athlete to cover the distance.
 * @return The average speed of the athlete.
 */
fun calculateAverageSpeed(distance: Double, time: Double): Double {

    // Calculate average speed
    val averageSpeed = distance / time
    return averageSpeed
}
/**
 * Calculates the average speed of an athlete given the distance and time.
 *
 * @param distance The total distance covered by the athlete.
 * @param time The total time taken by the athlete to cover the distance.
 * @return The average speed of the athlete.
 */
fun calculateAverageSpeed(distance: Double, time: Double): Double {
/**
 * Calculates the average speed of an athlete given the distance and time.
 *
 * @param distance The total distance covered by the athlete.
 * @param time The total time taken by the athlete to cover the distance.
 * @return The average speed of the athlete.
 */
fun calculateAverageSpeed(distance: Double, time: Double): Double {

    // Calculate average speed
    val averageSpeed = distance / time
    return averageSpeed
}