Dr Herbie said:
Shining Arcanine said:
*snip*

Line 75 has will pick up the result of the (even = !even) assignment as the condition for the ternary operator, so it will flip-flop every iteration. Nicely succinct.

 

Herbie

 

 

Ah, okay. I misread it as being (even == !even). I need to start writing some C code. I have not had a reason to write it in a while. :/