0203

Solution: (In English)

  • Find out the total Flight time from take-off to landing.  Store it in a variable called flightTime.
  • Find out the total time that has elapsed in flight.  Store it in a variable called elapsedTime.
  • Calculate flightTime minus elapsedTime.  Store it in a variable called arrivalTime.
  • Find out the available landing times. Store as variable availableTimes.
  • Compare arrivalTime to availableTimes.
  • If there is an available time slot, then book this time to land in Courtenay Airfield.
  • If there are no more available time slots, land in Smits Field.

 

Solution:  Flowchart

 

← Previous Post

Next Post →

1 Comment

  1. Correct.

Leave a Reply

Your email address will not be published. Required fields are marked *