/**
 * Calculate the average speed given the distance and time elapsed.
 */
fun calculateAverageSpeed(distance: Float, time: Float): Float {

    val averageSpeed = distance / time
    return averageSpeed
}
/**
 * Calculate the average speed given the distance and time elapsed.
 */
fun calculateAverageSpeed(distance: Float, time: Float): Float {
/**
 * Calculate the average speed given the distance and time elapsed.
 */
fun calculateAverageSpeed(distance: Float, time: Float): Float {

    val averageSpeed = distance / time
    return averageSpeed
}