My GetBovines() and it's results

So I’m posting this before watching Ben’s solution to the video. My code “seems” to work with one little exception…


it doesn’t seem to notice the four cows in the room!

After watching Ben’s solution I am left with this


well… at least it’s counting cows… or maybe it’s sheep… Interestingly one might think I copied and pasted Ben’s code then changed the variables but, well I got 21 Cows in a 5 letter word. can anyone see what I missed?

discovered that the cow counter was at the wrong indent level

Privacy & Terms