Problem #PRU-88190

Problems Set theory and logic Algorithm Theory Algorithm Theory

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.