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
5.2m questions
6.8m answers