0% found this document useful (0 votes)
59 views

Flowchart in Programming

A flowchart is a diagram that represents an algorithm using standard symbols. It can help both develop and explain a program by visually mapping out the logic flow and processes. Common symbols include lines to connect different steps, terminals for start/stop, inputs/outputs for data, and decisions for conditional logic. Examples show flowcharts for adding numbers, finding the largest of three inputs, and calculating roots of a quadratic equation.

Uploaded by

Subham .M
Copyright
© © All Rights Reserved
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
59 views

Flowchart in Programming

A flowchart is a diagram that represents an algorithm using standard symbols. It can help both develop and explain a program by visually mapping out the logic flow and processes. Common symbols include lines to connect different steps, terminals for start/stop, inputs/outputs for data, and decisions for conditional logic. Examples show flowcharts for adding numbers, finding the largest of three inputs, and calculating roots of a quadratic equation.

Uploaded by

Subham .M
Copyright
© © All Rights Reserved
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 5

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

You might also like