2010-10-28, 10:07 AM
Actually that was the one I had most half-heartedness in. I guess you can tell by the impropriety/inconsistency.
Anyway, how exactly do I read that operator? Exclusive OR would translate to:
"If only either a or b is greater than 0 and if only either a or c is greater than 0" ? Doesn't really sound right.
It seems what you're doing there says: "if a is not equal to b and if a is not equal to c; increment sum by a"
Anyway, how exactly do I read that operator? Exclusive OR would translate to:
"If only either a or b is greater than 0 and if only either a or c is greater than 0" ? Doesn't really sound right.
It seems what you're doing there says: "if a is not equal to b and if a is not equal to c; increment sum by a"

