Solution (in English)

  • Find out the landing location. Store it in a variable called ‘landingLocation’
  • Find out the landing time. Store it in a variable called ‘landingTime’
  • If the landing location is in Courtenay airfield, you need to add 20 minutes (Courtenay) to the landing time to determine the reservation time, and book a taxi
  • If the landing location is not in Courtenay airfield (i.e. Smits Field), you need to add 45 minutes to the landing time to determine the reservation time, and book an airfield loaner car

Solution (flowchart)