Solution (In English)

  • Find out if Courtney airfield landing is safe. Store in variable ‘CourtneyAirpark’
  • Find out if Smits Field landing is a safer option. Store in variable ‘SmitsField’
  • Add the two options for landing: CourtneyAirpark and SmitsField. Store it in a variable called ‘airfieldOptions’
  • Find out if winds are greater than 12 knots. Store in variable ‘12Knots>’
  • Compare airfieldOptions to 12Knots
  • If 12Knots is greater than airfieldOptions, move to next available airfield
  • If 12Knots is lesser than airfield, this is the safest landing option. 

Solution (flowchart)