Accepted Answer
The way that sentinel controls and flag controls relate to infinite loops is option D: They prevent them because each limits the number of iterations.What is a sentinel controlled while loop?A sentinel variable is set to a certain value at startup. The while loop keeps running until the sentinel variable is set to a predetermined termination value through an operation inside the loop.Note that Sentinel value is a special value used to end a loop in programming. Usually, the sentinel value is selected so that it won't be a valid data value that the loop will come across and try to work with.Learn more about infinite loops fromhttps://brainly.com/question/13142062#SPJ1