Search:

Type: Posts; User: robingeldolf

Search: Search took 0.09 seconds.

  1. Replies
    7
    Views
    2,455

    Re: board of galton,simulation.

    ok i did what you said,but i still won't work.
    I have to use the variables over 2 methods. So if i initialize them in the methods separately it doesn't work. Because it resets in each method. If i...
  2. Replies
    7
    Views
    2,455

    Re: board of galton,simulation.

    Don't they have to be the same name, i'm adding them in 1 method,and printing them out in another method. I'm searching for a way to initialize them to zero every time they ask for a new simulation.
  3. Replies
    7
    Views
    2,455

    Re: board of galton,simulation.

    if i do that the input doesn't reset to zero if i want to run another simulation.If i run 5 simulations i will have 5 balls in the bottom,if i run a second simulation of 5 it wil add this to the...
  4. Replies
    7
    Views
    2,455

    board of galton,simulation.

    I have a project for java,i have to simulate the board of galton(Galton Board -- from Wolfram MathWorld).

    My simulation code is ready but i'm having some final problems. I have to reset a value to...
Results 1 to 4 of 4