Question: what is the difference between relational and logical operators?
Answer: Relational operators compare two values and produce a Boolean result. ... The difference between relational operators and logical operators is that relational operators can have any operand values and return boolean while logical always have boolean operands and return a boolean.