219k views
4 votes
427- one digit is right but in the wrong place

490- one digit is right in its place
032- two digits are right but both in the wrong place
156- all digits are wrong
593-one dit is right but in the wrong place

Can you answer it with 3 digit number

??? Like a code for lock

1 Answer

5 votes

Answer:

370

Explanation:

Let the code be: abc

Clues:

  1. 427- one digit is right but in the wrong place
  2. 490- one digit is right in its place
  3. 032- two digits are right but both in the wrong place
  4. 156- all digits are wrong
  5. 593-one digit is right but in the wrong place

⇒ Starting with clue 4 and discarding 1,5 and 6

⇒ Clue 2 and 5 ⇒ discarding 9 since contradicting statements, it can't be in the second place as it is wrong according to other statement

⇒ Clue 5 and 3 ⇒ 3 is left as correct digit and goes to first place to replace a.

  • a= 3

⇒ Clue 1 and 2 ⇒ discarding 4 as it can't be right and wrong same time

⇒ Clue 2 ⇒ since other 2 digits are discarded, 0 left as correct digit and it goes to third place to replace c.

  • c= 0

⇒ Clue 1 and 3⇒ digit 2 is discarded, as digits 0 and 3 chosen, we have left with digit 7 which goes to second place to replace b.

  • b= 7

So the code is: 370

User Ehime
by
4.6k points
Welcome to QAmmunity.org, where you can ask questions and receive answers from other members of our community.