/**
 * Calculate the flight time required to cover a given distance at a constant speed.
 */
fun calculateFlightTime(distance: Double, speed: Double): Double {

    // Using the formula: time = distance / speed

    // Calculate the flight time
    val flightTime = distance / speed

    return flightTime
}
/**
 * Calculate the flight time required to cover a given distance at a constant speed.
 */
fun calculateFlightTime(distance: Double, speed: Double): Double {
/**
 * Calculate the flight time required to cover a given distance at a constant speed.
 */
fun calculateFlightTime(distance: Double, speed: Double): Double {

    // Using the formula: time = distance / speed

    // Calculate the flight time
    val flightTime = distance / speed

    return flightTime
}