The algorithm shown in Figure 2-42 should calculate and display the total amount due, but it is

Question:

The algorithm shown in Figure 2-42 should calculate and display the total amount due, but it is not working correctly. Correct the algorithm, and then desk-check it using 20, $0.25, and .045 (the decimal equivalent of 4.5%) as the number of folders purchased, folder price, and sales tax rate, respectively. 


Input number purchased folder price Processing Processing items: subtotal Output total due sales tax rate sales tax 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

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Question Posted: