Search:

Type: Posts; User: GregBrannon

Search: Search took 0.11 seconds.

  1. Replies
    5
    Views
    1,112

    Re: problems with loop

    I don't know how to point you to the problem any more specifically:

    CHECK THE LOGIC OF THE WHILE CONDITION FOR answer = 1 - 4! (Yes, I'm shouting.)
  2. Replies
    5
    Views
    1,112

    Re: problems with loop

    I asked the question poorly or you misunderstood. I'll try again.

    answer = 3
    while (answer<1||answer>5)

    Does the while loop execute?

    Oh crap! (Forgive my French.) Another thing you...
  3. Replies
    5
    Views
    1,112

    Re: problems with loop

    Please read the Announcement topic at the top of each sub-forum to learn how to post your code in code/highlight tags.

    I assume answer = 0 the first time the loop executes. Then what happens the...
Results 1 to 3 of 3