Solution (In English)

  • Find out booked time at Courtney Airpark. Store in variable ‘bookedTime’
  • Find out available times at Courtney Airpark. Store in variable ‘availableTime’
  • Compare bookedTime to availableTime
  • If availableTime is greater than bookedTime then book the later time 
  • If availableTime is lesser than or equal to bookedTime, then will need to land at Smits Field
  • Find Smits Field. Store in variable ‘SmitsField’

Solution (flowchart)