- Start
- Find out (input) how strong the wind is blowing. Store it in a variable called ‘windStrength’
- Find out when Mary and Louise are scheduled to land. Store it in a variable named ‘arrivalTime’
- Calculate windStrength at arrivalTime store as “originalLanding”
- If Landing is less than 12 knots, ‘originalLanding’ will be in courtenay
- If originalLanding is greater than 12 knots, then reroute Mary and Louise to Smits Field airfield.
- stop

1c-3
Start
- Start
- Find out when Mary and Louise will likely land. Store it in a variable called ‘estimatedLanding’
- Find out the available landing times. Store it in a variable called ‘availableTimes’
- Compare estimatedLanding to each availableTime
- If availableTime is earlier than 6pm, book the time as origianlLanding
- if availableTime is later than 6pm, reroute Mary and Louise to Smits Field airfield.
- Stop

1D-4
- Need to find out the results of Problem 3 and create a variable “ActualLanding”
- If answer was NO (Landing at Smits Field), store ‘YYS’ in variable “ActualLanding”
- If answer was YES (Landing at Courtenay), store ‘YYC’ in variable “ActualLanding”
- If value is ‘YYC’, variable “timeAdd” equals ‘20’ & variable “RequiredCar” should be ‘Taxi’
- If value is ‘YYS’, variable “timeAdd” equals ‘45’ & variable “RequiredCar” Should be ‘Airfield Loaner Car’
- Output (Add “timeAdd” minutes for Atlas Reservation and call the “RequiredCar” for pick-up.)

Leave a Reply