go to previous page   go to home page   go to next page

Answer:

Yes, if everything has been structured.


Structure Rule Five: Nesting Structures

In flowcharting terms, any code block can be expanded into any of the three structures sequence, alternation, iteration. Or, going the other direction, if there is a portion of the flowchart that has a single entry point and a single exit point, it can be summarized as a single code block. We have been doing this, and now can fit everything together.

The flowchart is starting to look complicated.

Complete Flowchart

The nested loop refers to the literal "/* BAD */" .


QUESTION 15:

(Thought question:) Could a complicated part of a flowchart be implemented as a C function?