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:
Enter the number purchased and folder price
calculate the subtotal by multiplying the number purchased by the folder price
Calculate the sales tax by dividing the subtotal by the sales tax rate
Calculate the total due by adding the sales tax to the subtotal
display the total due
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
