Search:

Type: Posts; User: kmh90210

Search: Search took 0.29 seconds.

  1. Replies
    7
    Views
    2,461

    Re: Code Validation help??

    Enter customer type (r/c/t): r
    Error! Invalid Customer Type. Please Try Again.
    Norm,

    Below is what the console prints out...the error message that I referred to was the error message I had...
  2. Replies
    7
    Views
    2,461

    Re: Code Validation help??

    When I run the code regardless of what customer type I enter it displays the error message in my loop. I can't get it to where it goes to the outside loop asking for the subtotal amount.
  3. Replies
    7
    Views
    2,461

    Code Validation help??

    I am in a beginner Java class and we are supposed to validate the user input to only accept customer type r, c, or t. My code however, throws the error message with every entry, even valid ones. ...
Results 1 to 3 of 3