What is a Flowchart?
A flowchart is a graphical representation of an algorithm using symbols and arrows.
Flowchart Symbols
- Rectangle (Process): represents a step or action in the algorithm, such as a calculation or data manipulation.
- Diamond (Decision): represents a choice or condition in the algorithm, such as a yes/no question or a true/false statement.
- Oval (Start/End): represents the beginning or end of the algorithm, indicating where the process starts and stops.
- Arrow (Flow): represents the direction of flow between steps, showing the sequence of actions.
Flowchart Rules
- Start with a clear problem statement.
- Use one entrance and one exit.
- Use arrows to show flow direction.
- Avoid crossing arrows.