Flowchart In Programming
A flowchart is a diagrammatic representation of an algorithm. A flowchart can
be helpful for both writing programs and explaining the program to others.
Symbols Used In Flowchart
Symbol Purpose Description
Indicates the flow of logic
Flow line
by connecting symbols.
Represents the start and the
Terminal(Stop/Start)
end of a flowchart.
Used for input and output
Input/Output
operation.
Used for arithmetic
Processing operations and data-
manipulations.
Used for decision making
Decision between two or more
alternatives.
Used to join different
On-page Connector
flowline
Used to connect the
Off-page Connector flowchart portion on a
different page.
Represents a group of
Predefined
statements performing one
Process/Function
processing task.
Examples of flowcharts in programming
1. Add two numbers entered by the user.
Flowchart to add two numbers
2. Find the largest among three different numbers entered by the user.
Flowchart to find the largest among three numbers.
3. Find all the roots of a quadratic equation ax2+bx+c=0
Flowchart to find roots of a quadratic equation