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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started