Professional Documents
Culture Documents
Algorithm
Pseudocode
a description of the sequence of steps required to solve a
problem using natural language and some programming
language-like constructs.
Flowchart
a graphic/visual representation of the sequence of steps
required to solve a problem.
END
ICT172: Principles to Programming
Lecture Notes 24
Example
•Write a Pseudocode check if a number is Positive or
Negative and display an appropriate message.
END
ICT172: Principles to Programming
Lecture Notes 26
Example
•The cashier of a super market wants to compute
the amount payable for an item bought from the
supermarket given the quantity bought and the
unit price of the item.
End of Lecture 6