/**
 * Calculates the distance covered by an athlete given the time and speed.
 *
 * @param time The time taken to cover the distance in seconds.
 * @param speed The speed at which the athlete is running in meters per second.
 * @return The distance covered by the athlete in meters.
 */
fun calculateDistance(time: Double, speed: Double): Double {

    // Calculate the distance using the formula distance = time * speed
    val distance = time * speed
    return distance
}
/**
 * Calculates the distance covered by an athlete given the time and speed.
 *
 * @param time The time taken to cover the distance in seconds.
 * @param speed The speed at which the athlete is running in meters per second.
 * @return The distance covered by the athlete in meters.
 */
fun calculateDistance(time: Double, speed: Double): Double {
/**
 * Calculates the distance covered by an athlete given the time and speed.
 *
 * @param time The time taken to cover the distance in seconds.
 * @param speed The speed at which the athlete is running in meters per second.
 * @return The distance covered by the athlete in meters.
 */
fun calculateDistance(time: Double, speed: Double): Double {

    // Calculate the distance using the formula distance = time * speed
    val distance = time * speed
    return distance
}