Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

From an Introduction to Programming with C++ Ch2 Exercise 14. Dont understand. They say the algorithm is when and I need to change it, but

From an Introduction to Programming with C++ Ch2 Exercise 14. Dont understand. They say the algorithm is when and I need to change it, but when you run the sample numbers through they work. Confused and a little lost. Any help would be great. Thanks.

Should calculate the total amount due algorithm apparently wrong please help

1. enter the number purchased and folder price

2 calculate the subtotal by multiplying the number purchased by the folder price

3 calculate the sales tax by dividing the subtotal by the sales tax rate

4 calculate the sales tax due by adding the sales tax to the subtotal

5. display the total due

use 20 for folders purchase, use $.25 for price of each folder, and .045 for sales tax rate

what is wrong with the algorithm

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

Introduction To Constraint Databases

Authors: Peter Revesz

1st Edition

1441931554, 978-1441931559

More Books

Students also viewed these Databases questions

Question

e. What are notable achievements of the group?

Answered: 1 week ago