Search:

Type: Posts; User: TSSF44

Search: Search took 0.12 seconds.

  1. Re: Very simple question (nextDouble- Random class)

    Thanks, I figured it out after posting that. I shouldn't be so quick to ask questions.
  2. Re: Very simple question (nextDouble- Random class)

    Thank you. That's what I thought. My professor insists that I use nextDouble. By doing what you said, I can get the range from 10 to 20? It seems to be 0 - 10.
  3. Very simple question (nextDouble- Random class)

    *
    If I change the method to nextInt, it works fine though. How can I use nextDouble without getting the error message? Method next.Double cannot be applied. Required : no arguments, Found: int....
Results 1 to 3 of 3