Matthew F. answered 04/05/19
Tutor
New to Wyzant
Professional Software/ Web Developer Specializing in Java
XOR is associative. True ^ True will resolve to false, and then false ^ True will resolve back to true! So processing True^True^True will reduce to False ^True and then just True.
(a ^ b ^ c ) ^ ( a && b && c )
This will return true only if only one input is true.