• + 0 comments

    C# code: double usertips =meal_cost /100.0 * tip_percent; double usertax = tax_percent/100.0 * meal_cost;

        double mealtotalcost = meal_cost +usertips +usertax;
        Console.WriteLine(Math.Round(mealtotalcost));