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

Answer:

Choice 1 looks best.


Output

Universal Flow Chart, output of BAD

There is still more work to be done. We could just output /* BAD */ with printf(), but to illustrate nesting of structures within structures, let us use putchar().

Assume that /* BAD */ is a string literal in the program.

Outputting /* BAD */ is again is a case of the universal flowchart. The flowchart at right shows this. It looks a lot like the first problem in this chapter.


QUESTION 14:

Are all the pieces of the flowchart going to fit together?