Flow charts are great tools for planning your program, any modifications to it, and for verifying that your program is working as planned when testing. It's a tool for program development.
Here, we start with a paper flow chart, move to an electronic one and then write a program (in Matlab) that relates to the flow chart. We then go about testing it.
We wrote the electronic version of the flowchart (https://app.diagrams.net) using symbols listed on Wikipedia (https://en.wikipedia.org/wiki/Flowchart).