possible to write any computer program by using only three basic
control structures. These control structures are:
1 Sequence
2 Selection, or IF-THEN-ELSE, and
3 Repetition, or DOWHILE
These control structures will be covered in detail in Chapter 2.
1.3 An
introduction
to
algorithms
and
pseudocode
Structured programming techniques require a program to be properly
designed before coding begins, and it is this design process which
results in the construction of an algorithm.
What is an algorithm?
An algorithm is like a recipe. It lists the steps involved in
accomplishing a
task.
It can be defined in programming terms as a set
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month, and much more.