Problem #PRU-88190

Problems Discrete Mathematics Algorithm Theory Theory of algorithms (other)

Problem

Fred and George are twin brothers. One of them always tells the truth, and the other always lies. You can ask only one question to one of the brothers, to which he will answer “yes” or “no”. Try to find out the name of each of the twins.