Question about "break;"

robtillaart:
you should be able to write a simple test program to just check that behaviour.

BTW you miss a break in the second if.

I can put a break in, but it isn't needed because there shouldn't be an instance where both of those are true at the same time. I need it on the first "If" statement because the first and second "if" statements will likely be true at the same time and the second "if" statement undoes the first "If" statements action.