Skip to content
Related Articles

Related Articles

Improve Article
Save Article
Like Article

Puzzle | Gun, Missile and Robot

  • Difficulty Level : Medium
  • Last Updated : 07 Sep, 2017

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 or mail your article to 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
Recommended Articles
Page :

Start Your Coding Journey Now!