Answered You can hire a professional tutor to get the answer.

QUESTION

use python to program that calculates the tip and total for a meal at a restaurant. sample output: Tip Calculator Cost of meal:31 Tip percent: 20 Tip...

use python to program that calculates the tip and total for a meal at a restaurant.

sample output:

Tip Calculator Cost of meal: 52.31

Tip percent: 20

Tip amount: 10.46

Total amount: 62.77

specifications:

*Input: costOfMeal, tipPercent

The formula for calculating the tip amount is:

tip = costOfMeal * (tipPercent / 100)

Show more
LEARN MORE EFFECTIVELY AND GET BETTER GRADES!
Ask a Question