This code includes a nested IF Statement
This code includes a nested loop
3.2.2 Programming concepts for AQA 8520 specification