Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

visual studio, C++ Write a program that will input total sales (sales plus tax) that a business generates for a particular month. The program will

visual studio, C++

image text in transcribed

Write a program that will input total sales (sales plus tax) that a business generates for a particular month. The program will also input the state and local sales tax percentage. It will output the total sales plus the state tax and local tax to be paid. The output should be in fixed notation with 2 decimal places. Sample run: Please input the total sales for the month 1080 Please input the state tax percentage in decimal form (.02 for 2%) .06 Please input the local tax percentage in decimal form (.02 for 2%) 02 The total sales for the month is $1080.00 The state tax for the month is $64.80 The local tax for the month is $21.60

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_2

Step: 3

blur-text-image_3

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

Next Generation Databases NoSQLand Big Data

Authors: Guy Harrison

1st Edition

1484213300, 978-1484213308

More Books

Students also viewed these Databases questions

Question

What is the growth rate of GDP per capita?

Answered: 1 week ago