![subject](/tpl/images/cats/informatica.png)
Computers and Technology, 12.02.2020 04:47 IntellTanito
This lab requires you to translate your work in the pseudocode and flowchart from Lab 2.2 and Lab 2.3 to actual code using Python. Read the following program prior to completing the lab.
A retail company must file a monthly sales tax report listing the total sales for the month and the amount of state and county sales tax collected. The state sales tax rate is 4 percent and the county sales tax rate is 2 percent. Write a program that asks the user to enter the total sales for the month. The application should calculate and display the following:
•
The amount of county sales tax
•
The amount of state sales tax
•
The total sales tax (county plus state)
Consider the following functions for your program:
•
main that calls your other functions
•
inputData that will ask for the monthly sales
•
calcCounty that will calculate the county tax
•
calcState that will calculate the state tax
•
calcTotal that will calculate the total tax
•
printData that will display the county tax, the state tax, and the total tax
If your program is correct, sample output might look as follows:
Welcome to the total tax calculator program
Enter the total sales for the month $12567
The county tax is $ 251.34
The state tax is $ 502.68
The total tax is $ 754.02
![ansver](/tpl/images/cats/User.png)
Answers: 1
![](/tpl/images/ask_question.png)
![](/tpl/images/ask_question_mob.png)
Another question on Computers and Technology
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 22.06.2019 16:20
Octothorpe is another name for what common computer keyboard symbol?
Answers: 1
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 23.06.2019 07:30
What key should you press and hold to select and open multiple files at one time? enter alt control esc
Answers: 1
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 24.06.2019 00:50
Which player type acts on other players? a. killer b. achiever c. explorer d. socializer
Answers: 1
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 24.06.2019 02:10
Consider the usual algorithm to convert an infix expression to a postfix expression. suppose that you have read 10 input characters during a conversion and that the stack now contains these symbols: (5 points) | | | + | | ( | bottom |_*_| now, suppose that you read and process the 11th symbol of the input. draw the stack for the case where the 11th symbol is
Answers: 2
You know the right answer?
This lab requires you to translate your work in the pseudocode and flowchart from Lab 2.2 and Lab 2....
Questions
![question](/tpl/images/cats/mat.png)
Mathematics, 30.10.2020 20:00
![question](/tpl/images/cats/biologiya.png)
Biology, 30.10.2020 20:00
![question](/tpl/images/cats/istoriya.png)
History, 30.10.2020 20:00
![question](/tpl/images/cats/mat.png)
Mathematics, 30.10.2020 20:00
![question](/tpl/images/cats/mat.png)
Mathematics, 30.10.2020 20:00
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/obshestvoznanie.png)
Social Studies, 30.10.2020 20:00
![question](/tpl/images/cats/en.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 30.10.2020 20:00
![question](/tpl/images/cats/himiya.png)
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/istoriya.png)
![question](/tpl/images/cats/obshestvoznanie.png)
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 30.10.2020 20:00
![question](/tpl/images/cats/en.png)
![question](/tpl/images/cats/en.png)
![question](/tpl/images/cats/obshestvoznanie.png)
Social Studies, 30.10.2020 20:00
![question](/tpl/images/cats/mat.png)
Mathematics, 30.10.2020 20:00