# Crack the Code – Brainteaser

Can you crack this code?

**A.** 6 8 2 – One Number is correct and well placed

**B.** 6 1 4 – One Number is correct but wrong place

**C.** 2 0 6 – Two Numbers are correct but Wrong Places

**D.** 7 3 8 – Nothing is correct

**E.** 8 7 0 – One Number is correct but wrong place

Try solving it and then match your answer. Scroll down to find answer for this puzzle.

**Also Try: Viral – Fun brainteaser**

**Also Try: Viral Puzzle – Which glass gets full first?**

**ANSWER: 0 4 2**

**The code is 0 4 2**

**A.** 6 8 **2 **– **One Number is correct and well placed ** – **Number cannot be 6 as that will make Statement B wrong so number in code is 2 which is correctly placed also(on Position 3)**

**B.** 6 1 4 – **One Number is correct but wrong place** – **6 cannot be that number as per Statement A, It cannot be 1 also as if number is 1 it can be on either on 1st or 3rd place those are already taken by digits 0 and 2 so only number left is 4**

**C. 2 **0 6 – **Two Numbers are correct but Wrong Places** – **One of digit which is correct is 0 as per Statement E but its place cannot be at second(as per statement C) and third position( as per Statement E) so it can be only one first place, other digit is 2 as per statement A.**

**D.** 7 3 8 – **Nothing is correct** – **We can rule out these 3 digits from other statements**

**E.** 8 7 0 – **One Number is correct but wrong place** – **We know 0 is one of digit in code but place for it would be not 3**

From statement A, B and E we got our numbers. Statement A gave position for Number 2 . Statement C and E gave position for other 2 numbers.

**Statement A -> X X 2**

**Statement A, C and E-> 0 X 2**

**Statement B -> last digit 4 which will come in middle so code would be 0 4 2**

**Hence the code is 0 4 2**