Question
Asked by:
mabpest
mabpest
Rating : No Rating
Questions Asked: 9
Tutorials Posted: 10, earned $0.00
 

$10.00 flowchart

Q:
a 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.


can anyone help me to get started with this flowchart?
 


   
   
   
   
 
Available Tutorials to this Question
Posted by:
stevesov
stevesov
Rating (14): A-
Questions Asked: 0
Tutorials Posted: 109, earned $214.74
 

$10.00 Processing sorted input with department subtotals...

  • This tutorial was purchased 9 times and rated A by students like you.
  • Posted on Dec 03, 2008 at 11:26:43PM
A:
Preview: ... mp first" approach is that you always print your detail lines from the "old" record, AFTER you have done all the tests to decide if you need to print any level of subtotals. So you never have to worry about things like "do I print this record before, or after the department subtotals". You make all the decisions about subtotal printing AFTER each detail line is already on the output report, which simplifies the alrogithm considerably.<br><br><br>Hopefuly, this will get you off the ground.<br><br>If there is still confusion, please let me know.<br><br>St ...

The full tutorial is about 452 words long plus attachments.

Attachments:
sorted input with subtotals FC.jpg (66K) (Preview)
   
Join Now or Log In
Get Tutoring
Get Paid
Academic Honesty