Answered step by step
Verified Expert Solution
Link Copied!

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 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

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

Beginning ASP.NET 4.5 Databases

Authors: Sandeep Chanda, Damien Foggon

3rd Edition

1430243805, 978-1430243809

More Books

Students also viewed these Databases questions

Question

What is an interface? What keyword is used to define one?

Answered: 1 week ago

Question

How wide are Salary Structure Ranges?

Answered: 1 week ago