Iterations

I am a little bit confused. I am a beginner, and I was trying to write a plinko game program that will print the slot path. I am stuck. I want the path to be something like this [5.0 4.5 4.0 4.5 5.0 4.5 4.0 4.5 4.0 4.5 5.0 4.5 5.0], and I am not good with iterations. I will prompt the user to enter a slot number(0-8), and I will print the path that looks like the above. Please explain.
Please explain.


Please provide code :+)
Topic archived. No new replies allowed.