Pseudocode
As problems get more difficult or complex it is necessary to sketch out potential solutions. There are various tools available for programmers to do this such as flowcharts, which we met in the previous chapter, or pseudocode.
Pseudocode is simply a way of writing out an algorithm which is independent of any programming language. It should be written in such a way that a non-programmer could read it and know what the steps are in the algorithm. There is no standard, or correct way, of writing pseudocode. It will look like code, without being code. For example: