Professional Documents
Culture Documents
Chapter 2 - Flowchart
Chapter 2
Flowchart
START
END
INPUT
OUTPUT
PROCESS
DECISSION
CONNECTOR
FLOWCHART Symbols
Chapter 2 - Flowchart
Example 1 : Draw the Ilow chart to calculate the area oI a square rectangle ?
START
Read
Length
Area Length
2
Write
Area
END
Chapter 2 - Flowchart
Example 3 : Draw the Ilowchart to Iind the sum oI numbers Irom 1 .. 100
START
N 1
Sum 0
Sum Sum N
N N 1
N ~ 100
Write Sum
End
1
1
Yes NO
Chapter 2 - Flowchart
Example 4 : Draw the Ilowchart to Iind the sum oI odd numbers Irom 1 .. 100
START
N 1
Sum 0
Sum Sum N
N N 2
N ~ 100
Write Sum
End
1
1
Yes NO
Chapter 2 - Flowchart
Example 5 : Draw the Ilowchart to Iind the sum oI even numbers Irom 1 .. 100
START
N 0
Sum 0
Sum Sum N
N N 2
N ~ 100
Write Sum
End
1
1
Yes NO
Chapter 2 - Flowchart
Example 6 : Draw the Ilowchart to read 50number then Iind the average ?
START
Counter 0
Sum 0
Sum Sum Number
Counter counter 1
Counter
~ 50
Write
(Sum / 50)
End
1
1
Yes NO
Read
Number