Search:

Type: Posts; User: javapenguin

Search: Search took 0.14 seconds.

  1. Replies
    5
    Views
    6,515

    Re: Number Guessing Game

    I'll admit I haven't tried it.

    However, does

    while(true) sound valid to you?

    I have seen

    while(variable == true)
  2. Replies
    5
    Views
    6,515

    Re: Number Guessing Game

    while(true)

    is not valid.

    if you had a boolean called

    playAgain and set it to true to begin with

    the statement
Results 1 to 2 of 2