Answered step by step
Verified Expert Solution
Link Copied!

Question

00
1 Approved Answer

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:

image text in transcribed

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

Step: 1

blur-text-image

Get Instant Access with AI-Powered 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

Students also viewed these Databases questions