Lecture 7 Flowchart
Lecture 7 Flowchart
CSM 184
FLOWCHARTS
From the previous lecture, we learnt that there are many ways of
specifying an algorithm and these include pseudocodes and
flowcharts.
4
Flowchart symbols continued
6
Decision flow chart
7
Flowchart – Example 1
Write an algorithm, using pseudocode and a flowchart to input
two numbers and find sum of these numbers.
Flowchart –
Example 2
Get street
Flowchart for the
If street is even Then program segment
Display Eastbound
Else
Display Westbound
End If
10
Flowchart – Exercise 1