Algorithm - Flowcharts
Algorithm - Flowcharts
Algorithm - Flowcharts
Flowcharts
Durjoy Kumar Paul
Lecturer, Department of
Mech. Eng., RUET,
Rajshahi- 6204.
❑ There may be more than one way to solve a problem, so there may be
more than one algorithm for a problem.
❑ Before writing an algorithm for a problem, one should find out what
is/are the inputs to the algorithm and what is/are expected output
after running the algorithm.
Symbols
❑ While writing algorithms we will use following symbol for different
operations:
❑ Flowchart symbols have an entry point on the top of the symbol with no other
entry points. The exit point for all flowchart symbols is on the bottom except
for the Decision symbol.
❑ The Decision symbol has two exit points; these can be on the sides or the
bottom and one side.
❑ Generally a flowchart will flow from top to bottom. However, an upward flow
can be shown as long as it does not exceed 3 symbols.