Create a flowchart using VISIO to solve this problem.
Cool’s Department Store keeps a record of every sale in the following format:
DEPARTMENT STORE SALES FILE DESCRIPTION
File name: DEPTSALES
Sorted by: Department
Field Description Data Type COMMENTS
Transaction Number Numeric a 6-digit number
Amount Numeric 2 decimal places
Department Numeric a 3-digit number
Create the flowchart that shows the logic for a program that would print each transaction’s details, with a total at the end of each department.
OS: Windows Vista; Browser: IE
HiCustomerPlease find the flowchart along with the pseudocode below:-FILES!
Let me know if you need anything else
If you find my answer useful, please press the Accept button and give me a positive feedback (and I will give a positive feedback). Bonuses are appreciated. If you need any further help just contact me!!
Several years of intensive programming and application development experience in various platforms.
How do you create the flow chart? is it exactly like the code you sent me?
how do you create the flowchart on visio? is it the same as the code u sent me?
Hi,The flowchart is created in visio 2007.You can right click on flowchart and see.and yes it is according to the pseudocode i mentioned.Do you need any more clarifications?
yes, please if you dont mind explaining
Hi,Its a simple flowchart.See the pseudocode first.I solved the problem using different modules.In main module i used three modules housekeeping(),mainloop() and finish modules(),They are defined after the main moduleI wrote the house keeping module first and there is a corresponding flowchart.Then i called the main loop module and in main loop module i called the deptbreak module.i have also provided the dept break module's flowchart.Then FInally i ended the mainmodule by calling the finish module()See how different modules are called in the hiererachy chart below:-FILES!Hope this clarifies your doubts.Just go through the pseudocode thorougly first and then analyse the pseudocode and flowchart at a time.REply to me if you face trouble understanding any of the submodules.
ok thank you, XXXXX XXXXX been a great help, i really appreciate the time you have taken to help me.
No problem.I was glad to help you out.Bye and have a good day....
Before you go, I just one more question, the housekeeping part, is that just one of the department or was that suppose to be department sales?
housekeeping is nothing but a simple submodule of main module that is used to declare variables and read,write and update the records or DEPTSALES file here.Also it turns out be a part of the department finally as DEPTSALES is include under the department.
oh ok i understand