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.
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.
Replace one of the blocks with an iteration structure.