Answered step by step
Verified Expert Solution
Question
1 Approved Answer
A small retail company must file a monthly sales tax report listing the sales for the month and the amount of sales tax collected. (
A small retail company must file a monthly sales tax report listing the sales for the month and the amount of sales tax collected. Note: make sure to read these specifications carefully!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 percent and the county sales tax is percent. If the total amount collected is known and the total sales tax is percent, the amount of product sales may be calculated as:STWhere, S is the product sales and T is the total income product sales plus sales taxWhen your user types in January in the prompt for the month, the user types in for the year, and the user types in for the total collected, the program should display a report similar to:Month: January Total Collected: $ Sales: $ County Sales Tax: $ State Sales Tax: $ Total Sales Tax: $
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started