Search:

Type: Posts; User: mvonb17

Search: Search took 0.09 seconds.

  1. Replies
    7
    Views
    1,727

    Re: I am a beginner please help :)

    Sry for not being very clear to explain my problem. Hope i improve with time hehe.

    Ok thanks for your help. I knew that it works in this way but i thought that maybe another method might exist to...
  2. Replies
    7
    Views
    1,727

    Re: I am a beginner please help :)

    My problem is that i wish that the while loops keeps looping until the 'code' inputted is equal to one of the pre-defined code: code1, code2, code3.

    System.out.print("CODE: ");
    code =...
  3. Replies
    7
    Views
    1,727

    I am a beginner please help :)

    what wrong whit this statment:

    while(!code.equals(code1||code2||code3))
    {
    System.out.print("Ivalid code. Please enter code again: ");
    ...
Results 1 to 3 of 3