Search:

Type: Posts; User: Zyrion

Search: Search took 0.19 seconds.

  1. Replies
    7
    Views
    1,111

    Re: What's wrong with my integers?

    With a little bit a manipulation it's a perfect method for this problem.

    Just remember that when using Math.random() from the java.lang.Math class is that it returns a static double value. So...
  2. Replies
    7
    Views
    1,111

    Re: What's wrong with my integers?

    Goal 1: I want to get the user's guess.
    Tip: Using I/O, get the users guess and store it inside an integer variable.

    Goal 2: I want to get a random number.
    Tip: Using the random class, using the...
  3. Replies
    7
    Views
    1,111

    Re: What's wrong with my integers?

    Your program code is initiated sequentially, line by line. So what do you think happens when your IDE runs your the first statement in the main method of the code.



    //You are declaring these...
Results 1 to 3 of 3