function fare(start, end) {
        dist = dist_data[start][end];
        const flight = 5;
        const miscFee = 450;
        var tax = dist * 0.1;
        totalCost = (flight * dist + miscFee + tax)
        return totalCost;
    }
//  Turnkey function to return fare of a route without inputting distance

Turnkey function to return fare of a route without inputting distance
Turnkey function to return fare of a route without inputting distance
function fare(start, end) {
        dist = dist_data[start][end];
        const flight = 5;
        const miscFee = 450;
        var tax = dist * 0.1;
        totalCost = (flight * dist + miscFee + tax)
        return totalCost;
    }
function fare ( start , end ) { dist = dist_data [ start ] [ end ] ; const flight = 5 ; const miscFee = 450 ; var tax = dist * 0.1 ; totalCost = ( flight * dist + miscFee + tax ) return totalCost ; }
Turnkey function to return fare of a route without inputting distance
Turnkey function to return fare of a route without inputting distance