THE STRUCTURE OF A COMPUTER PROGRAM
So how is a computer program structured? If you study programming at college, one of the first things they will teach you is that ANY computer program can be written using just three constructs: Sequence, Selection, and Repetition (Dijkstra, 1966).

Sure, things become murky when we get onto more advanced topics like modules or functions, or object oriented notation like classes and objects, however that is generally good advice.

Remember it! I can write any computer program just by using Sequence, Selection, and Repetition. We will further our study of pseudocode by explaining each of these three constructs, using examples, and later we will use all three together to write a slightly more complicated program.