Flowcharts

Flowchart

In the previous section of this chapter, we have learnt to write algorithms, i.e. step-bystep process of solving a problem. We can also show these steps in graphical form by using some symbols. This is called flowcharting.

Flowchart Symbols

Some of the standard symbols along with respective function(s) that are used for making flowchart are as follows:


The following flowchart is an example of a sequential execution.

Example

Draw a flowchart to find the simple interest. (Sequence)

Solution:


The following flowchart is an example of a selective execution.

Example

Draw a flowchart to find bigger number among two numbers (selective)

Solution:


The following are the examples of an iterative execution.

Example

Draw a flow chart to find factorial of any number.

Solution:


Example

Draw a flow chart to find biggest number among "n‟ numbers.

Solution:



Programs