Question: The algorithm shown below should calculate and display the total amount due, but it is not working correctly. What needs to be corrected ( hint:

The algorithm shown below should calculate and display the total amount due, but it is not working correctly. What needs to be corrected (hint: there are two)?
Input Processing Output
number purchased
folder price
sales tax rate
Processing items: subtotal, sales tax total due
Algorithm:
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 total due by adding the sales tax to the subtotal
5. display the total due

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!