Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

U l U 3. l6 ' (Sales Tax) Sales tax is collected from buyers and remitted to the government. A retailer has to le a

image text in transcribed
U l U 3. l6 ' (Sales Tax) Sales tax is collected from buyers and remitted to the government. A retailer has to le a monthly sales tax report which lists the sales for the month and the amount of sales tax collected, at both the county and state levels. Develop a program that will input the total col 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: 5 41906.42 County Sales Tax: $ 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: $ 4495.41 State Sales Tax: $ 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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Unity From Zero To Proficiency Beginner A Step By Step Guide To Coding Your First Game

Authors: Patrick Felicia

1st Edition

1091872023, 978-1091872028

More Books

Students also viewed these Programming questions