It is recommended that all programmers use the same conventions for the pseudo code. For
a mathematical description of the algorithm, the algorithm needs to be written exactly as
it would appear in an article. Use superscripts and subscripts for upper and lower indices
respectively.

Provide clear translations for unavailable symbols, for example *sqrt* (square root) or *sum* (sum).

The structures used are those resembling a structural diagram, except that indentations are
used instead of lines. An alternative is Jackson Structured Programming (JSP), but its
readability is slightly less than that of a structural diagram.

The three control structures result in:

- sequence

Statements are described one below the other. - selection
- IF - THEN - ELSE:
if ... then statements else statements

- SELECT - CASE:
select ... case .. statements case .. statements ... else statements

- IF - THEN - ELSE:
- iteration

The three allowed structures are written as follows:- DO ENDDO
for i = i1 (i2) i3 statements

- DO WHILE
while ... statements

- REPEAT UNTIL
repeat until ... statements

- DO ENDDO

The SWAN team 2017-10-26