Search:

Type: Posts; User: mvonb17

Search: Search took 0.22 seconds.

  1. Replies
    7
    Views
    465

    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
    465

    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
    465

    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: ");
    ...
  4. Re: Please held. What is wrong with my code? I am a beginner ;)

    oucch that's a tricky one! thanks for your feedback!
  5. Please held. What is wrong with my code? I am a beginner ;)

    In this program the user is buying some online stuff. A menu is displayed with the available stuff. The user is asked to enter the code of the object he needs. Until the user enter "XX" the program...
Results 1 to 5 of 5