Crack the code numeric lock
189 147 964 523 286
Answers
Given : Lock codes and condition
To find : Code of lock
Solution:
189 - one digit is right and in its place
147 - one digit is right but in wrong place
964 - two Digits are correct but in wrong place
523 - all Digits are wrong
286 - one digit is right but in wrong place
189 & 147 both have one digit right , but one in right place and one on wrong place
hence 1 can not be the Digit
523 - all Digits are wrong
286 - one digit is right but in wrong place ( 2 is wrong digit)
=> 8 or 6 must be right digit
it can not be 8 as its in wrong place while
189 - one digit is right and in its place ( and position of 8 is same)
=> 8 is not right digit
hence 6 is right Digit but in wrong place in 286
964 - two Digits are correct but in wrong place
=> 6 position must be 1st
189 - one digit is right and in its place ( 1 & 8 not possible)
Hence 9 is right digit at right place
=> 6 x 9
964 has 9 & 6 right digit hence 4 is wrong digit
147 - one digit is right but in wrong place
=> 7 is right digit in wrong place
=> 679 is code for lock
Learn more:
In a certain language HAPPY=3125 NANI=1024 then how key will ...
https://brainly.in/question/11580033
https://brainly.in/question/16427672