Solution (in English):
-Input overall travel time. Store it in a variable called travelTime
-Input available landing times. Store it in a variable called availableTimes
-Compare travelTime to each availableTime
-If availableTime is earlier than travelTime, move to next availableTime
-If availableTime is equal to or greater than travelTime, book this time
Leave a Reply