Search:

Type: Posts; User: tripline

Search: Search took 0.10 seconds.

  1. Re: My random generator isn't working. Please help!

    yes.

    My original ((number1-number2) + number2)) //parentheses in the wrong place
  2. Re: My random generator isn't working. Please help!

    Well I feel like an idiot. My parentheses were in the wrong place. I had to rewrite the entire thing to figure it out. Really wish someone would have said syntax error.


    import java.util.*;...
  3. Re: My random generator isn't working. Please help!

    skaterboy - you are saying do a while loop until the random numbers hit between number1 and number2? I guess I can try that.
    Tjstretch - What line of code are you talking about? I did a fair amount...
  4. My random generator isn't working. Please help!

    The random number should be between number1 and number2, an inclusive but after the first random number request, it goes outside my stipulation.

    import java.util.*;
    public class RandomNumber{
    ...
Results 1 to 4 of 4