With the way your program is organized you can do something like this:



SET THE VALUE OF entry TO 1
WHILE entry IS NOT EQUAL TO ZERO
BEGIN LOOP
GET a value of entry from the user.
...