Introduction

TripMileage is used to calculate the mileage between cities. It returns each segment's mileage amount, as well as the whole journey mileage total from the originating city to the very last destination.