C++ · Loops
Counting, waiting for a target and reading until the data runs out all need a block of code that repeats while a test stays true.