notepadsuite

Flowchart templates › School and programming

Sum of 1 to N flowchart (loop)

Adds the numbers from 1 to N with a counter and a loop. Shows how a loop is drawn in a flowchart.

Sum of 1 to N flowchart (loop)StartRead Nsum = 0, i = 1i <= N?sum = sum + ii = i + 1Print sumEndYesNo

What’s in this template

8 shapes, 1 decision. The steps: Start → Read N → sum = 0, i = 1 → i <= N? → sum = sum + i → i = i + 1 → Print sum → End.

How to adapt it

  1. Click Open in the editor. The template opens as a new diagram in your browser; nothing is uploaded.
  2. Double-click any shape to change its text, and drag shapes to move them. Arrows stay attached.
  3. Select a shape and click the blue + to add a step after it, or press Delete to remove it.
  4. Export a PNG, SVG or PDF, or share a view-only link.

Related templates