/**
 * Calculates the average speed based on the given distance and time.
 *
 * @param distance The distance covered in meters.
 * @param time The time taken in seconds.
 * @return The average speed in meters per second.
 */
fun calculateAverageSpeed(distance: Double, time: Double): Double {

    val averageSpeed = distance / time
    return averageSpeed
}
/**
 * Calculates the average speed based on the given distance and time.
 *
 * @param distance The distance covered in meters.
 * @param time The time taken in seconds.
 * @return The average speed in meters per second.
 */
fun calculateAverageSpeed(distance: Double, time: Double): Double {
/**
 * Calculates the average speed based on the given distance and time.
 *
 * @param distance The distance covered in meters.
 * @param time The time taken in seconds.
 * @return The average speed in meters per second.
 */
fun calculateAverageSpeed(distance: Double, time: Double): Double {

    val averageSpeed = distance / time
    return averageSpeed
}