How do I compare multiple items? For example, I wish to check if all the variables A, B, and C are equal to the char \'X\' or all three are equal to \'O\'. (If 2 of them are
if((A == 'X' || A == 'O') && A == B && B == C) { // Do whatever }