Search:

Type: Posts; User: Sharmeen

Search: Search took 0.18 seconds.

  1. Re: Why the Random pre-defined functions create an error in the code?

    Thank you very much for the reply. But even if I took off that line, it doesn't print correctly. Any other suggestions??
  2. Re: Why the Random pre-defined functions create an error in the code?

    This is only to make sure that no Error occurs. Kind of fault avoidance that's why I compute it twice.
  3. Re: Why the Random pre-defined functions create an error in the code?

    OOOOPS .. Am so sorry, I just edited the code. Thank You.
  4. Why the Random pre-defined functions create an error in the code?

    Hi all,
    I have a problem with my code when I add this line:

    inject=aRandom.nextBoolean();

    I have a loop more than what it is supposed to be. Iterations should stop at 10 but it continues...
Results 1 to 4 of 4