Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

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

More Books

Students also viewed these Databases questions

Question

I am paid fairly for the work I do.

Answered: 1 week ago

Question

I receive the training I need to do my job well.

Answered: 1 week ago