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
Flowline symbol in flowchart of programming Flow line Indicates the flow of logic by connecting symbols.
Terminal symbol in flowchart of programming Terminal(Stop/Start) Represents the start and the end of a flowchart.
Input/Output symbol in flowchart of programming Input/Output Used for input and output operation.
Processing symbol in flowchart of programming Processing Used for arithmetic operations and data-manipulations.
Decision making symbol in flowchart of programming Decision Used for decision making between two or more alternatives.
On-page connector symbol in flowchart of programming On-page Connector Used to join different flowline
Off-page connector symbol in flowchart of programming Off-page Connector Used to connect the flowchart portion on a different page.
Predefined process symbol in flowchart of programming Predefined Process/Function Represents a group of statements performing one processing task.

Examples of flowcharts in programming

1. Add two numbers entered by the user.

Flowchart to add two numbers in programming
Flowchart to add two numbers

2. Find the largest among three different numbers entered by the user.

Flowchart to find largest among three numbers
Flowchart to find the largest among three numbers.

3. Find all the roots of a quadratic equation ax2+bx+c=0

Flowchart of the roots of a quadratic equation
Flowchart to find roots of a quadratic equation

4. Find the Fibonacci series till term≤1000.

Flowchart of Fibonacci sequence in programming
Flowchart fo display the Fibonacci Series

Note: Though flowcharts can be useful for writing and analyzing a program, drawing a flowchart for complex programs can be more complicated than writing the program itself. Hence, creating flowcharts for complex programs is often ignored.

Did you find this article helpful?

Our premium learning platform, created with over a decade of experience and thousands of feedbacks.

Learn and improve your coding skills like never before.

Try Programiz PRO
  • Interactive Courses
  • Certificates
  • AI Help
  • 2000+ Challenges