Home » Chapter 1 (introduction) » Flow Chart – What is Flow Chart and how can we use it in c++

Flow Chart – What is Flow Chart and how can we use it in c++

Flow Chart

Flowchart in a combination of two words flow and chart. A chart consists of different symbols to display information about any program. Flow indicates the direction of processing that takes place in the program.

Flowchart is a graphical representation of an algorithm. it is a way of visually presenting the flow of data, operations performed on data and sequence of these operations.Flowchart is similar to the layout plan of a building.  A designer draws the layout plan of the building before constructing it. Similarly, a programmer prefers to design the flowchart before writing the computer program. Flowchart is designed according to the defined rules.

Uses of logic flowchart:-

Flowchart is used for the following reason:

  1. Flowchart is used to represent an algorithm in simple graphical manner.
  2. Flowchart is used to show the step of an algorithm in an easy way.
  3. Flowchart is used to understand the flow of the program.
  4. Flowchart is used to improve the logic for solving a problem.
  5. Programs can be reviewed and debugged easily.

Flowchart Symbols:-

Flowchart uses simple symbols to show different types of statements:

  1. Input/output

Parallelogram symbol is used to represent an input or output step. Input statement is used to get input from the user. The output statement is used to display a message to the user or to display a value.


Flow Chart input outputFlow Chart input output

2 Process
Rectangle symbol is used to represent a process step. A process may be a complex calculation or simply an assignment statement.

Flow Chart Process


3. Selection
Diamond symbol is used to represent a selection step. A condition is given in the diamond, The flow of control from diamond may do in two directions i.e. One direction if the condition is true and the second direction if the condition is false.

Flow Chart selectionFlow Chart selection


4. Start/End
Oval symbol is used to represent the start or end of the flowchart.

Flow Chart start endFlow Chart start end

5. Flow Lines
Arrow symbols are used to represent the direction of flow in the flowchart. There are four types of flow lines.

Flow Chart lines


6. Connector
Circle symbol is used to combine different flow lines. it is used  when two or more flow symbols come from different and move to one direction.

Flow Chart counnter


7. Function Call

Rectangle symbol with double lines on left and right sides is used to call a function. The name of function with parameter is written inside the symbol.


Flow Chart function call


8. Preparation

This symbol is used  with for loops to specify start and stop conditions.



Flow Chart preparation


, , ,

Leave a Reply

Your email address will not be published. Required fields are marked *


error: Sorry You Have Not Permission To Copy!