Help with code that is not working correctly

swilliams1284:
I'm thinking it has something to do with the && operators? Any ideas?

You've found a problem with the && operator? Well done!

Meanwhile, please don't start a new thread about exactly the same code as the existing one.

Threads merged.