I understand, I want you to think about it. If numberSimulation is 100 and y is 0 what should the condition of your loop be?
Type: Posts; User: Junky
I understand, I want you to think about it. If numberSimulation is 100 and y is 0 what should the condition of your loop be?
y = numberSimulation
A single equals is assignment. A double equals is comparison. Do you really want the loop to execute ONLY when y equals numberSimulation?