Here is the problem:
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 registar(that is, sales plus sales tax). Assume the state sales tax is 4 percent and the county sales tax is 2 percent.
If the total amount collected is known and the total sales tax is 6 percent, the amount of product sales may be calculated as
s=t/1.06
where "s" is the product sales and "t" is the total income(product sales plus sales tax).
The program should display a report similar to the following:
Month: March 2008
---------------------
Total Collected: $ 26572.89
Sales: $ 25068.76
County Sales Tax: $ 501.38
State Sales Tax: $ 1002.75
Total Sales Tax: $ 1504.13
My problem is, how did the come up with the state sales tax? that is the one equation the has me stumped.
Equation Problem=Monthly Sales Tax
Page 1 of 12 Replies - 2518 Views - Last Post: 22 October 2009 - 04:10 PM
Replies To: Equation Problem=Monthly Sales Tax
#2
Re: Equation Problem=Monthly Sales Tax
Posted 22 October 2009 - 02:19 PM
Hello,
sales * 0.04
Jw
sales * 0.04
Jw
camerondg, on 22 Oct, 2009 - 12:09 PM, said:
Here is the problem:
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 registar(that is, sales plus sales tax). Assume the state sales tax is 4 percent and the county sales tax is 2 percent.
If the total amount collected is known and the total sales tax is 6 percent, the amount of product sales may be calculated as
s=t/1.06
where "s" is the product sales and "t" is the total income(product sales plus sales tax).
The program should display a report similar to the following:
Month: March 2008
---------------------
Total Collected: $ 26572.89
Sales: $ 25068.76
County Sales Tax: $ 501.38
State Sales Tax: $ 1002.75
Total Sales Tax: $ 1504.13
My problem is, how did the come up with the state sales tax? that is the one equation the has me stumped.
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 registar(that is, sales plus sales tax). Assume the state sales tax is 4 percent and the county sales tax is 2 percent.
If the total amount collected is known and the total sales tax is 6 percent, the amount of product sales may be calculated as
s=t/1.06
where "s" is the product sales and "t" is the total income(product sales plus sales tax).
The program should display a report similar to the following:
Month: March 2008
---------------------
Total Collected: $ 26572.89
Sales: $ 25068.76
County Sales Tax: $ 501.38
State Sales Tax: $ 1002.75
Total Sales Tax: $ 1504.13
My problem is, how did the come up with the state sales tax? that is the one equation the has me stumped.
#3
Re: Equation Problem=Monthly Sales Tax
Posted 22 October 2009 - 04:10 PM
Use 1.04 * sale; do not have to the add the number being multiplied.
Page 1 of 1
|
|

New Topic/Question
Reply




MultiQuote



|