Question: programming language is C . A retailer 3.16 (Sales Tax) Sales tax is collected from buyers and remitted to the government has to file a

programming language is C
. A retailer 3.16 (Sales Tax) Sales tax is collected from buyers and remitted to the government has to file a monthly sales tax report which lists the sales for the month and the amount of sales al col- tax collected, at both the county and state levels. Develop a program that will input the tot lections for a month, calculate the sales tax on the collections, and display the county and state taxes. Assume that states have a 4% sales tax and counties have a 5% sales tax. Here is a sample input/output dialog Enter total amount collected (-1 to quit): 45678 Enter name of month: January Total Collections: 45678.00 Sales: 41906.42 County Sales Tax: S 2095.32 State Sales Tax: 1676.26 Total Sales Tax Collected: 3771.58 Enter total amount collected (-1 to quit): 98000 Enter name of month: February Total Collection: $ 98000 Sales: 89908.26 County Sales Tax: S 4495.41 State Sales Tax: S 3596.33 Total Sales Tax Collected: 8091.74 Enter total amount collected (-1 to quit): -1
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
