Question
A travel agency maintains a list of information about airline flights. Flight information includes a departure time and an arrival time. assume that the two
A travel agency maintains a list of information about airline flights. Flight information includes a departure time and an arrival time. assume that the two times occur on the same day. There are three parts to this free response. Type the answers in a word/text document and then submit them to the Travel Agency Free Response dropbox. Be sure to thoroughly explain the answers.
Part A:Explain how to compute the number of minutes from a current time until a given time. is it possible to write an equation that will compute the number of minutes until the next time forall situations?
Try these examples:
if it is currently 12:00 PM, how many minutes is it until 2:00PM.
if it is currently 9:30AM, how many minutes is it until 10:30AM
if it is currently 1:00PM, how many minutes is it until 2:15PM
if it is currently 8:00AM, how many minutes is it until 3:45PM
A trip consists of a sequence of flights. there is a given a list of flights, and assume that for each flight after the first flight in the list, the departure time of the flight is later than the arrival time of the preceding flight in the list.
Part B: Getting the duration of the trip
Given a list of flights, explain how to figure out the length of the trip?Part C: Finding the shortest layover time
A layover is the number of minutes from the arrival of one flight in a trip to the departure of the flight immediately after it. Calculate the layover times for the following trip. What is the shortest layover for the following trips?
Flights | Departure Time | Arrival Time | Layover (Minutes) |
Flight 1 | 11:30am | 12:15pm | |
Flight 2 | 1:15pm | 3:45pm | |
Flight 3 | 4:00pm | 6:45pm | |
Flight 4 | 10:15pm | 11:00pm |
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started