Question: Monthly Sales Tax * Program used is Visual Studio. We do not use Python * A retail company must file a monthly sales tax report

Monthly Sales Tax
*Program used is Visual Studio. We do not use Python*
A retail company must file a monthly sales tax report listing the sales for the month and the amount of sales tax collected. Write a program that asks for the month, the year, and the total amount collected at the cash register (i.e. sales plus sales tax). Input month and year as string. Assume the state sales tax is 4 percent, county sales tax is 2 percent, and city sales tax is 1 percent make them constants.
If the total amount collected is known and the total sales tax is 7 percent, the amount product sales may be calculated as:
Sales = Total Received /1.07
The 1.07 is 1+ state sales tax + county sales tax + city sales tax
The state and county taxes should be constants in your program. Add the three tax rates plus 1 to get the total tax rate for the calculation. Do not hard code the 1.07. You must determine the total sales with the calculation provided before you can find the county and state sales taxes.
Format your output as shown (values right-justified in a column, showing two digits after the decimal point).
Use the given numbers for turning in.
Sales Tax for January 2023
************************
*******
Total Collected: $ 26572.89
Sales: $ 24834.48
City Sales Tax: $ 248.34
County Sales Tax: $ 496.69
State Sales Tax: $ 993.38
Total Sales Tax: $ 1738.41

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 Programming Questions!