identify and explain situations in which conditional and repeating structures are required