Cflowchart
Cflowchart
Cflowchart
FLOWCHARTING
MEANING OF A FLOWCHART
Flowcharts are usually drawn using some standard symbols; however, some special
symbols can also be developed when required. Some standard symbols, which are
frequently, required for flowcharting many computer programs are shown in Fig. 1
INPUT/OUTPUT SYMBOLS
PROCESSING SYMBOLS
STORAGE SYMBOLS
or
e. Only one flow line should enter a decision symbol, but two or three flow lines,
one for each possible answer, should leave the decision symbol.
g. Write within standard symbols briefly. As necessary, you can use the
annotation symbol to describe data or computational steps more clearly.
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.
Example 2
Draw a flowchart to find the largest of three numbers A,B, and C.
Answer: The required flowchart is shown in Fig 3
Notes By: Shailesh Bdr. Pandey, TA, Computer Engineering Department, Nepal Engineering
College
Example 3
Draw a flowchart for computing factorial N (N!)
Where N! = 1 ´ 2 ´ 3 ´ …… N .
The required flowchart has been shown in fig 4