Skip to main content
- Store the output of 3 in a variable called ‘landingLocation’
- If landingLocation is ‘Courtenay’, add 20 minutes to landingTime
- If landingLocation is ‘Courtenay, book a taxi
- If landingLocation is not ‘Courtenay’, add 45 minutes to landing time
- If landingLocation is not ‘Courtenay’, book the airfield loaner vechile
- Find out the open reservation at the Atlas Cafe and store in a variable called ‘reservationTimes’
- Compare landingTime to reservationTimes
- If landingTime is later than reservationTimes, move to the next number in reservationTimes
- If landingTime is earlier than reservationTimes, book that reservation time
Leave a Reply