Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Monthly Sales Tax A small retail company must file a monthly sales tax report listing the sales for the month and the amount of sales

image text in transcribed
Monthly Sales Tax A small 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 the user to enter values for the month name as a string, the year as an integer, and the total amount collected in sales (include sales tax) as a floating point value (float or double, your choice!). Assume the state sales tax is 6.75 percent and the county sales tax is 2.00 percent. If the total amount collected is known and the total sales tax is 8.75 percent, the amount of product sales may be calculated as: 1.0875 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: Month: October 2018 Total Collected: 26572.89 Sales: County Sales Tax: State Sales Tax: Total Sales Tax: $ 2138.05 $ 24434.84 488.70 $ 1649.35

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

Secrets Of Analytical Leaders Insights From Information Insiders

Authors: Wayne Eckerson

1st Edition

1935504347, 9781935504344

More Books

Students also viewed these Databases questions