Problem 2. Write an algorithm that will tell Mary if she can land In Courtenay or if she has to go to Smits Field.
Soulution (English)
- Find out wind speed. Store it in a variable called “windSpeed”
- Calculate if windSpeed > 12 knots
- If WindSpeed > 12knots, output Smits Field
- If windSpeed < 12 knots, output Courtenay Airfield
Leave a Reply