Search:

Type: Posts; User: pbrockway2

Search: Search took 0.23 seconds.

  1. Replies
    3
    Views
    1,358

    Re: help with detecting certain characters

    There are two things going on here. First the return when q is entered is taken care of by the if statement. The second is to keep looping while input is not c/r, and that's what the while...
  2. Replies
    3
    Views
    1,358

    Re: help with detecting certain characters

    The general idea of your code is OK.

    The while condition should not have anything to do with "Q", however. Also a "bad" input like "L" is not "C" AND it is not "R" etc.

    ---



    if(input ==...
Results 1 to 2 of 2