Boone Bros.

How Too › Guides › Engineering

Plan a program with a flowchart

Engineering5 minBeginner

What you need

Steps

  1. Start with the goal

    Write the goal in a few words. A computer needs to be told exactly what "done" means.

  2. Break it into small steps

    List each step in order, one action per box. If a step feels big, split it.

  3. Add the questions

    Wherever the next step depends on something, draw a diamond with a yes-or-no question and a path for each answer.

  4. Loop back

    If a step repeats until something is true, draw an arrow back up. That’s a loop.

    Tip: Read the chart out loud as if you were the computer. Any step you have to guess at needs more detail.

Watch this guide as a short animation in How Too: free, no ads, no account.

Watch it animated About How Too