Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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 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 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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started