bool Answer(bool a, bool b, bool c)
(b != c);
this was made is c# as you were not very described in what language you needed
9.4m questions
12.2m answers