Powered By Blogger

Wednesday, 21 January 2015

Security passwords/numbers

Here is a puzzle regarding security code-
Before the entry gate of a secured post,the security guard will give a password to the person wishing to enter.The person has to give a reply.Only if the reply is correct he will be allowed to enter.
Person A comes to the gate.The guard mentions the number 12,A gives the answer 6. He is allowed to enter.
Person B comes to the gate-The guard mentions 6.B gives the answer 3.He is allowed to enter.
Person C comes to the gate after seeing the previous 2 persons entering.The guard mentions 8.C gives the reply 4.He is not allowed inside.
Can you make out why?
The code followed is this-When the guard gives a number,the person wishing to enter should find out the number of alphabets required for writing out the number and give it as the answer-6 letters for 12 and 3 letters for 6. You can see that for the number 8,it should be 5 instead of 4 due to which C was not allowed inside.