Search:

Type: Posts; User: jps

Search: Search took 0.07 seconds.

  1. Replies
    6
    Views
    1,210

    Re: Can't work out how to detect and incorrect input

    Well that is not what I am here to do...


    I offered help. In fact I wrote out part of your pseudocode for you.


    I told you how to fix it. Write code to do the actions in post #4.


    Don't...
  2. Replies
    6
    Views
    1,210

    Re: Can't work out how to detect and incorrect input

    Spoonfeed you working code? No. That would make me a bad person.

    You said you are having problems detecting if the string is wrong rather than the string and the integer.
    So take it one step at...
  3. Replies
    6
    Views
    1,210

    Re: Can't work out how to detect and incorrect input

    In order to check one thing regardless of the other, check one item first (string). If the item is wrong, ask for input until it is correct. Then move on and work on the next part (integers).
Results 1 to 3 of 3