Crazy Pet Store Program

Pages: 12
I think that isn't quite right. Basically, you're skipping 4 bowls and finding the next occupied bowl. But you need to find the 4th occupied bowl from the beginning. So if all 4 of the first bowls are empty, then you need to find the 4th occupied bowl, not the first.


Ok. I may have mis-read/interrpreted the question.

BOWLS, not BOWELS. There's a difference. :)


So much for the spelling checker!
Topic archived. No new replies allowed.
Pages: 12