Puzzle | Gun, Missile and Robot

There are three people (Ajay, Bhuvi and Chandu), one of them is a Gun, one a missile, and one a robot. The Gun always tells the truth, the missile always lies, and the robot can either lie or tell the truth.
Statements :
Ajay : “Chandu is a missile.”
Bhuvi : “Ajay is a Gun.”
Chandu : “I am the robot.”
Find out the Gun, the missile and the robot?


Solution :
Ajay is Gun
Bhuvi is robot
Chandu is missile

Bhuvi is not the Gun, since if he is, then Ajay would also be the Gun.
Chandu is not the Gun, since his statement would then be a lie.
So Ajay is the Gun, Chandu is the missile, and Bhuvi is the robot.

This article is contributed by Ajay Puri. If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to contribute@geeksforgeeks.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.

Please write comments if you find anything incorrect, or you want to share more information about the topic discussed above.

My Personal Notes arrow_drop_up
Article Tags :
Practice Tags :

Be the First to upvote.

Please write to us at contribute@geeksforgeeks.org to report any issue with the above content.