I have a program with a while loop that searches an array. I want to run the while loop, and then based on the outcome of the search, output a statement to the user.

I don't want the output statements within the while loop, but if the user wants to search again, I need to get back into the loop.

How can I do this?

Brian