• + 0 comments

    JavaScript

    function solve(meal_cost, tip_percent, tax_percent) {
        // Write your code here
        const RESULT = Math.round(meal_cost + ((meal_cost * tip_percent) / 100) + ((meal_cost * tax_percent) / 100));
        console.log(RESULT);
    }