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 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

Recommended Textbook for

Managerial Accounting

Authors: Ray Garrison, Eric Noreen, Peter Brewer

15th edition

1259404781, 007802563X, 978-1259404788, 9780078025631, 978-0077522940

Students also viewed these Databases questions