Question: Sales Tax: Write a program that computes the total sales tax on a $95 purchase. Assume state sales tax is 8.25%. Display the sale cost,

Sales Tax:

Write a program that computes the total sales tax on a $95 purchase. Assume state sales tax is 8.25%. Display the sale cost, tax amount and the total cost including tax to the user.

Your output should look like this:

Sales Tax: Write a program that computes the total sales tax on

Hints: Use float variables, you may need a maximum of 4 variables to compute totals. No formatting is required for output of values.

Grading Criteria:

Formatting - 10%

Organization - 10%

Comments - 5%

Code Structure - 35%

Efficiency - 10%

Algorithm - 30%

Its C++ programming language. I use Visual Studio 2019 by the way, this class is Programming Fundamental. I need your help!

O X C:\Users ecgonzalez source repos Assignment1\Debug Assignment1.exe - This program calculates the total cost or a purchase including sales tax: Purchase: $95 Total Tax: $7.8375 Total Cost: $102.838

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!