Search:

Type: Posts; User: Norm

Search: Search took 0.12 seconds.

  1. Replies
    10
    Views
    2,987

    [SOLVED] Re: While try catch loop

    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.
  2. Replies
    10
    Views
    2,987

    [SOLVED] Re: While try catch 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...
  3. Replies
    10
    Views
    2,987

    [SOLVED] Re: While try catch loop

    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...
  4. Replies
    10
    Views
    2,987

    [SOLVED] Re: While try catch loop

    Where in your program is that message being printed?
Results 1 to 4 of 4