Last active
October 15, 2016 18:33
-
-
Save MaximilianLloyd/a10491245f5813cbb04c495d5847b3d0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function getDeliveryTime(milesTraveled, numDeliveries, gasPrice) { | |
return (slopes.milesTraveled.travelTime * milesTraveled) + (slopes.numDeliveries.travelTime * numDeliveries) + (slopes.gasPrice.travelTime * gasPrice); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment