Search:

Type: Posts; User: Tclausex

Search: Search took 0.01 seconds.

  1. Replies
    9
    Views
    1,079

    The short answer: no. By definition a sentinel...

    The short answer: no.

    By definition a sentinel is some value in the range of the datatype being used which does not represent a valid data value. So when you're determining if a sentinel is even...
  2. Replies
    9
    Views
    1,079

    You are reading in the number, processing it,...

    You are reading in the number, processing it, then returning to the top of the while loop to test the input. So yes, 0 is being treated as an input.

    The easiest solution at a beginning level...
Results 1 to 2 of 2