Question: Your requirement is to build an application in python that calculates the total price of a purchase, including sales tax for the three states where

Your requirement is to build an application in python that calculates the total price of a purchase, including sales tax for the three states where we do business. The sales tax is different, depending on what state the customer is from. Washington: 8.1% Idaho: 6.0% Oregon: 0.0%

The program should:

1. request input of the original purchase amount, and which of the the three state IDs (WA, ID, OR) the purchaser is from. 2. Use an IF statement to convert the state codes into the sales tax amount 3. Calculate the tax, and add it to the purchase 4. Print out the purchase, the tax, and the total

This assignment is for the flow chart that describes the program.

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!