Question: Using python how would I enter this The Albert Packer Cafe would like an application written to calculate the total charge for a meal -

Using python how would I enter this
The Albert Packer Cafe would like an application written to calculate the total charge for
a meal - including a 15% tip
Store the following data:
cost of the meal
Percent of tax
salesTax
Percent to Tip
tip
total charge
Collect the following data from the user:
(prompt the user for the data to enter/store the keyboard input)
Cost of the meal
Set the Percent of Tax to 0.07(7%)
Set the Percent to Tip to 0.15(15%)
Then calculate the following for the meal:
sales tax (cost of the meal * Percent of Tox)
tip (cost of the meal * Percent of Tip)
total charge (cost of the meal + sales tax + tip)
 Using python how would I enter this The Albert Packer Cafe

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!