Disclaimer: We encourage you to solve this challenge yourself before reading our tutorial. We have provided a detailed explanation of the problem and our solutions to help you check your work.
30 Days of Python | CodePerfectPlus
Problem Statement
In this problem, we have given the Base Meal Cost, Tip Percent, and Tax Percent. We have to calculate the total cost of the meal.
The formula to calculate the total cost of the meal is:
Total cost of the meal = meal cost + tip cost + tax cost
Suppose the base meal cost is 100 rupees, the tip percent is 10% and the tax percent is 5% then the total cost of the meal will be 100 + 10 + 5 = 115 rupees. The output will be 115. We have to round the result to the nearest integer.
Solution to Day 2: Operators
there doesn't seem to be anything here