/**
 * Calculate the average speed of an athlete.
 *
 * @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 in meters per second.
 */
fun findAverageSpeed(distance: Double, time: Double): Double {

    val averageSpeed = distance / time  // Calculate the average speed
    return averageSpeed
}
/**
 * Calculate the average speed of an athlete.
 *
 * @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 in meters per second.
 */
fun findAverageSpeed(distance: Double, time: Double): Double {
/**
 * Calculate the average speed of an athlete.
 *
 * @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 in meters per second.
 */
fun findAverageSpeed(distance: Double, time: Double): Double {

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