Question: Program Practice 2 Prg 3 Use Thonny create a new program and save the program as C H 2 Prg 3 then write the following

Program Practice2 Prg3
Use Thonny create a new program and save the program as CH2 Prg3 then write the
following program:
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 Tox 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 Tax)
tip (cost of the meal * Percent of Tip)
total charge (cost of the meal + sales tox + tip)
aneill
>
A 1 red Packer cate
Cost of molala 32.36
Tax:
Tip: 67.05
Total Due: 56.60
Notice the formatting of the
numbers and the spacing
 Program Practice2 Prg3 Use Thonny create a new program and save

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!