• Find out the earliest landing time
  • Find out the extra trip length
  • Add the two previous inputs together to find out the new earliest landing time (newEarliestTime)
  • Find out if the available landing times at the Courtenay Airfield are greater than the newEarliestTime
  • If the available landing times are greater than or equal to the newEarliestTime, land in Courtenay Airfield
  • If the available landing times are less than the newEarliestTime, land in Smits Field