Type: Posts; User: D.K
Make a while loop with an inner if statement and add a sentinel value to exit the loop.