Monday, July 28, 2008

Flow Chart (Examples)

7.FEW EXAMPLES ON FLOWCHARTING

Now we shall present few examples on flowcharting for proper understanding of this technique. This will help in student in program development process at a later stage.

Example 1

Draw a flowchart to find the sum of first 50 natural numbers.

Answer: The required flowchart is given in Fig. 2

b10.gif (3617 bytes)

Fig. 2 Sum of first 50 natural numbers

Fig 2 Flowchart for computing the sum of first 50 natural numbers.

No comments: