Question: 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

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

The Python Code

PASTE COMPLETED CODE HERE

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!