Search:

Type: Posts; User: Adak

Search: Search took 0.11 seconds.

  1. Replies
    17
    Views
    2,360

    Then you sound like you want a while(not good...

    Then you sound like you want a

    while(not good input and not quit input) print a message to have them re-enter their choice, and get that new input inside the while loop.
  2. Replies
    17
    Views
    2,360

    Well, for once, I wasn't the slowest fingers in...

    Well, for once, I wasn't the slowest fingers in the bunch! :cool: We'll have to up our keyboarding rate to catch "fast fingers" Tim, though. ;)
  3. Replies
    17
    Views
    2,360

    So after the user enters exitsw, ...

    So after the user enters exitsw,

    exitsw=tolower(exitsw)
    if(exitsw != 'y' && exitsw != 'q') exitsw='y' and print your message to enter y or q, and let the loop iterate around.


    I would be...
Results 1 to 3 of 3