I'm half way through writing a program that requites the user to terminate at any point if they enter "999"
I know its fairly straight forward but I cant seem to find a simple answer anywhere, like is there just a line or two of code I can add to achieve this?