Page 45 - TP_iPlus_V2.1_Class8
P. 45
Rules for Drawing Flowchart
You must follow these basic rules while drawing a flowchart:
• The flowchart should be clear, neat and easy to follow.
• Maintain the direction of the flow from left to right or top to bottom.
• Only one flow line should come out from a process symbol.
• Ensure that only one flow line should enter a decision symbol, but two flow lines should leave
the decision box.
• Ensure that the flowchart has a logical start and an end.
Advantages of Flowchart
Flowcharts provide the following advantages:
• It provides a better understanding of a problem.
• It facilitates a programmer to analyse the problem in detail.
Let us understand how some simple flowcharts are made.
Example 1: Flowchart to calculate simple Example 2: Flowchart to add first 100 natural
interest. numbers.
Start Start
Read Principal as P Sum = 0
Rate as R
Time as T N = 0
SI = (P * R * T)/100 N = N + 1
Sum = Sum + N
Print SI
Is
Stop N >= 100?
No
Yes
Print Sum
Stop
43
Algorithms and Flowcharts

