Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Could you please solve this assignment in C++ programming: Program 2-Sales Tax (Homework) CSCI 259 A retail company must file a monthly sales tax report

Could you please solve this assignment in C++ programming:
image text in transcribed
Program 2-Sales Tax (Homework) CSCI 259 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, the total amount of sales tax collected, state sales tax and the county sales tax. If the total amount collected is known and the total sales tax is 9% (assume the state tax is 7% and the county tax is 2%), then the amount of product sales m ay be calculated as: 1.09 S is the product sales amount and Tis the total amount collected. Sample Output (2 examples), your output must look exactly like the one below (well formatted Enter the month: February Enter the year: 2018 Enter total amount collected: 26572.89 Enter state sales tax (enter 4 for 4%, etc.): 4 Enter county sales tax (enter 2 for 2%, etc.): 2 Enter your name: Jane Doe Report for February 2018 Total amount collected: S 2657289 Sales amount: State sales tax County sales tax: Total sales tax: S 25068.76 S 1002.75 S 501.38 S 1504.13 Prepared by: Jane Doe Enter the month: January Enter the year: 2018 Enter total amount collected: 12345.12 Enter state sales tax (enter 4 for 4%, etc.): 7 Enter county sales tax (enter 2 for 2%, etc.): 5 Enter your name: Mary Smith Report for January 2018 Total amount collected: Sales amount: State sales tax County sales tax: Total sales tax: S 12345.12 S 11022.43 S 771.57 S 551.12 S 1322.69 Smith

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

Mastering Apache Cassandra 3 X An Expert Guide To Improving Database Scalability And Availability Without Compromising Performance

Authors: Aaron Ploetz ,Tejaswi Malepati ,Nishant Neeraj

3rd Edition

1789131499, 978-1789131499

More Books

Students also viewed these Databases questions