Flow charts

The software is intangible, the first programmer should understand the problem and derive it solution.. Flowcharts and Algorithm are pretty handy is devising the solutions. An algorithm is a step-by-step solution to solve the problem.  The definition of a flowchart can be divided into the following two parts:

Flow - It is a set of steps of logic operations to solve the problem. It contains the sequence, selection, iteration, and functions/ procedure calls

Chart - It is a pictorial representation of the flow or part of the flow. A  chart is an easy way to communicate flow and offers a high-level process overview.

For beginners, it is always suggested to write an algorithm and draw a flow chart before writing the program. The algorithm and flowchart are helpful in solving the problem.

How to draw the flow chart

The flow chart is a pictorial representation of the steps, these steps are drawn using symbols. First, we have to understand the symbols used to draw a program flow chart.






Start and Endpoint of the process

Terminal Symbol in flowchart


It is used to represent step or action which is taken.


It is used to represent a decision in the process. Typically, this symbol requires a 'yes' or 'no' response. It creates a branch to different parts of the flowchart accordingly.

Decision Symbol in flowchart​​​​​​​


It is used for user input and display results.

Input and output symbol


It is used to connect another part of the flowchart on the same page

Connector Symbol


It represents a step that results in a document.


Document Symbol in flowchart​​​​​​​


Example:   Flow chart to add two numbers


Flow chart


Step 1 Start


Step 2 Input Number A


Step 3 Input Number B


Step 4 SUM = A + B


Step 5 Display SUM


Step 6 Stop


flow chart to add two numbers

Benefits of  Flowcharts

It is easy and efficient to analyze problems using flowcharts.

Algorithm and flow charts are easy to debug (Finding errors).

Easy to figure out next step(s)

Establishes a basic understanding of the process.