About Guess It
• We are trying to find a random number with different figures on each digit.
• We are again guessing with numbers that have different figures on each digit.
• If our guess has a digit which is present in the number to be guessed and if place of the digit is correct we get + , if digit is present but not in the correct place then we get a - .
• Assume the number to be guessed is 1234 :
Let our first guess to be 3164 :
Since 4 is present and is at correct place we get a + and
since 3 and 1 is present but not in correct places we will get two - ,
we will not get anything for the numbers that are not present in the number to be guessed ,
our guess result will be +-- .