-1

I have to make a psuedocode or a flowchart to create a multiple-control break program.

The Specifications:

You are given an input file that contains the following information:

* Title
* Author
* Category
* Publisher
* Price
* BookCity
* BookState

Produce a report that totals the number of sales in each city and then in each state.


Please help me with this ASAP.....
Thanks.......................

2
Contributors
1
Reply
3
Views
8 Years
Discussion Span
Last Post by eggmatters
0

I have to make a psuedocode or a flowchart to create a multiple-control break program.

The Specifications:

You are given an input file that contains the following information:

* Title
* Author
* Category
* Publisher
* Price
* BookCity
* BookState

Produce a report that totals the number of sales in each city and then in each state.


Please help me with this ASAP.....
Thanks.......................

Here's a method to learn how to do this:
Ask yourself: What is the necessary data above to satisfy your output conditions?
Write it down on paper, the necessary fields from your input file.
Write a test case of sample input data that satisfies the input file requirements.
Using the necessary data, draw a box around your input statements that satisfy what you wrote down in step one.
Draw lines connecting the boxes, label the lines with the actions required to satisfy output conditions, label recursive actions with a separate box and a circular line stating loop conditions if necessary.

Re write your sample data "flowchart" into something more generalized.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.