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...
Type: Posts; User: robingeldolf
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...
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.
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...
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...