looping and stopping when a condition is met - test

Top