Solution (in English)

  • Find out (input) what time Mary will arrive in Courtenay.  Store it in a variable called       ‘arrival time’.
  • Find out (input) available landing times.  Store it in a variable called ‘available’.
  • Compare ‘arrival time’ with ‘available’.
  • If ‘arrival time’ is less than or equal to ‘available’, Mary can land at the Courtenay Airport.
  • If ‘arrival time’ is greater than ‘available’, Mary must land at Smitts Field.

Solution (Flow Chart)