Question: Draw a flowchart to represent the logic that will be asking the user to input the customer number, amounts spent for frozen goods, meats, produce,

Draw a flowchart to represent the logic that will be asking the user to input the customer number, amounts spent for frozen goods, meats, produce, canned goods, and dairy for each customer. Subtotal the grocery department totals, calculate the tax using 4.5% on the subtotal. Calculate the grand total by adding the tax to the subtotal. Output the customer number, subtotal, tax, and grand total.
Realistically you would have more than one customer record but for this flowchart develop the logic as if there is only one record. In the next chapter you will incorporate processing multiple records by incorporating an end of file test.
Include:
Input - customer number, frozen goods amount, packaged goods amounts, meat amount, produce amount, dairy amount
Processing - subtotal the individual grocery totals, calculate the tax (4.5%* subtotal, calculate grand total (tax plus subtotal)
Output - customer number, subtotal of individual grocery items, tax, grand total

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!