Welcome to the CSC Q&A.
Get help and give help!
Write great code!
It is our choices... that show what we truly are, far more than our abilities.

Categories

0 votes

I thought I followed the strategy in the lab directions to generate random x,ys through the conditional, but I'm only seeing one sprinkle. Why?

asked ago in CSC201 by (4.2k points)

1 Answer

0 votes

Since every sprinkle needs its own coordinates, all of the code beginning with generating the random x/y values through the conditional to test whether to draw that sprinkle needs to be in the loop.

answered ago by (4.2k points)
...