go to previous page   go to home page   go to next page hear noise highlighting

Answer:

See below. Usually programs need an initialization step, a middle step that does most of the work, and a final step to finish the work.


Three Steps

Three Steps




The initialization step for our problem initializes the sum to zero.

The chart is still not detailed enough for programming. It needs some detail about how all those integers are to be read in. A loop is needed.


QUESTION 21:

Replace one of the blocks with an iteration structure.

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