• Input current wind speed. Store to variable windSpeed
  • Input maximum allowable wind speed for a landing at Courtenay airfield. Store to variable maxWindSpeed
  • Compare windSpeed and maxWindSpeed. If windSpeed is larger than maxWindSpeed, store Smits Field to variable landingLocation. Otherwise, store Courtenay airfield to landingLocation.