• Look at all of the landing times in courtenay, store in variable ‘CourtLand’
  • Look at the smits field times, ‘SmitLand’
  • If CourtLand time is greater than SmitLand, she will land in courtenay.
  • While Mary is figuring out which airfield to land in, Louise needs to book a reservation at the Atlas Cafe. She was given a list of open times for the reservation. Based on the place they land, she needs to add 20 minutes (Courtenay) or 45 minutes (Smits Field) to their landing time to determine the reservation time. She also needs to book either a taxi (Courtenay) or the airfield loaner car (Smits Field). Write an algorithm that will take the necessary outputs from Problem 3 and determine which reservation time and mode of transportation she needs to book.
  • Variable to book loaner car ‘loaner’
  • variable to book taxi ‘taxi’
  • if courtland is greater than smitland add variable taxi