function findFare(dist) {
        const flight = 8; // per km charge
        const miscFee = 750; // miscellaneous aviation fee
        var tax = dist * 0.1; // 5% tax levied on state and central territory
        distCost = (flight * dist + miscFee + tax) //Total fare = 1.1*[(per km charge)*distance] + misc fee
        return distCost;
    }
//  Turnkey function to return fare of a route

Turnkey function to return fare of a route
Turnkey function to return fare of a route
function findFare(dist) {
        const flight = 8; 
        const miscFee = 750; 
        var tax = dist * 0.1; 
        distCost = (flight * dist + miscFee + tax) 
        return distCost;
    }
function findFare ( dist ) { const flight = 8 ; const miscFee = 750 ; var tax = dist * 0.1 ; distCost = ( flight * dist + miscFee + tax ) return distCost ; }
Turnkey function to return fare of a route
Turnkey function to return fare of a route
// per km charge
 // miscellaneous aviation fee
 // 5% tax levied on state and central territory
 //Total fare = 1.1*[(per km charge)*distance] + misc fee
