A graphic representation of an algorithm, often used in the design phase of programming to work out the logical flow of a program.
Flow Chart Example 1
Draw a flowchart to find the sum of first 50 natural numbers.
Answer: The required flowchart is given in Fig. 1.
Fig. 1 Sum of first 50 natural numbers
Draw a flowchart to find the largest of three numbers A, B, and C.
Answer: The required flowchart is shown in Fig 2
Fig 2 Flowchart for finding out the largest of three number
Draw a flowchart for computing factorial N (N!)
Where N! = 1?2?3?....N .
The required flowchart has been shown in fig 3
Answer:
Fig 3 Flowchart for computing factorial N