- Input previously booked landing time. Store to variable bookedTime
- Input array of remaining available landing times. Store to variable availableTimes
- Compare bookedTime to values in availableTimes. If any values stored in availableTimes are larger than bookedTime, store Courtenay airfield to landingLocation. Otherwise, store Smits Field to landingLocation
- Output landingLocation

Leave a Reply