/**
 * This function calculates the average speed of an athlete given the distance traveled and the time taken
 */
fun calculateAverageSpeed(distance: Double, time: Double): Double {

    // Calculate the average speed
    val averageSpeed = distance / time
    return averageSpeed
}
/**
 * This function calculates the average speed of an athlete given the distance traveled and the time taken
 */
fun calculateAverageSpeed(distance: Double, time: Double): Double {
/**
 * This function calculates the average speed of an athlete given the distance traveled and the time taken
 */
fun calculateAverageSpeed(distance: Double, time: Double): Double {

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