Professional Documents
Culture Documents
Class 4
Class 4
ALGORITHM
&
FLOWCHARTS
Presented by Computer G
WHAT IS AN ALGORITHM?
In computer programming terms, an algorithm
is a set of well-defined instructions to solve a
particular problem.
The word Algorithm means ”A set of finite rules
or instructions to be followed in calculations or
other problem-solving operations ”
FLOWCHART
A flowchart is a type of diagram that
represents a workflow or process. A flowchart
can also be defined as a diagrammatic
representation of an algorithm, a step-by-step
approach to solving a task.
ADD TWO NUMBERS
ALGORITHM TO ADD TWO NUMBERS
Step 1: Start
Step 2: Declare variables A, B and C.
Step 3: Read values for A, B.
Step 4: Add A and B and assign the result to a
variable C.
Step 5: Display sum
Step 6: Stop
Determining the Largest
Number Among All the
Entered Integers
ALGORITHM