Java · Loops
A program rarely knows how many numbers a person will type, so it reads until the input tells it to stop.