Hello, inthedl!

If I have three variables: , and I want to convert

"exactly two of the three variables" into a boolean expression,

would I express that as: .

Yes, that's correct.

The three cases are mutually exclusive, so an ordinary OR will suffice.