Another way is to use the break statement.
After the user enters his response, use an if statement to see if he entered the quit signal and then break from the while loop.
Type: Posts; User: Norm
Another way is to use the break statement.
After the user enters his response, use an if statement to see if he entered the quit signal and then break from the while loop.
What does your program do immediately after displaying the message:
Enter a customer number (or an "X" to quit) ->
and you enter something?
What is the next statement executed after it reads your...
Sorry, I meant, where in the code is the message printed. I do not see "Acccount" or "cannot be found" in the code you posted. Is the message printed in some other code?
Try debugging your code...
Where in your program is that message being printed?