This legislative example helps determine workers' holiday entitlements based on their age and the number of years thay have been working for the company. The example makes use of two numerical questions and various mathematical expressions using both 'and' and 'or' operators.