Answer: There are multiple solutions, one of which is given below.
Pick any two cashiers and ask the following questions:
- Ask the first cashier, “If I were to ask you if you are the liar, would you answer yes?”
- If they answer no, ask them if the second cashier is the liar.
Explanation: If the first cashier is the liar, they will say yes to your first question because they would answer no to the question “Are you the liar?” and must lie about that response. If they answer no, then you know they are a truth teller, at which point you can ask them if the second cashier is the liar.