Solution:

  • Find out the wind speed store that information in windspeed
  • Input maxwindspeed (in this case 12 knots)
  • Compare windspeed greater to maxwindspeed
  • If Windspeed is greater land in Smits field
  • If windspeed is not greater land in Courtenay airfield