4.3.8 Analyse the use of variables, constants and operators in algorithms.
Constant should be used when we don't want the value to change, or indeed if a change in the variable would potentially cause a problem. A good example here is the length of an array. Meantime, a variable will be a value we either expect will change, or don't mind if it does change.