0203

  • First, create a list of landing times consisting of every 15 minute interval between the opening and the closing time of the airbase. Store this in a variable called ‘allTimes’
  • Second, Store the time originally scheduled to land at the airbase in a variable called ‘scheduledTime’
  • Third, Create a variable for the airbase closing time and call it ‘closingTime’
  • Fourth Determine if the scheduled time is equal to or less than the closing time.’
  • Fifth, if the scheduled time is equal to closing time, output Smits Field
  • Sixth If the scheduled time is before the closing time, output the next possible time after the scheduled time.

 

← Previous Post

Next Post →

1 Comment

  1. Yes, this is correct.

Leave a Reply

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