you need to unlock a secret code using following clues , can you ? here you have the clues : clue - 1 : 0 7 9 ( one of the numbers is correct and is placed in its correct position ) clue - 2 : 0 3 2 ( nothing is correct ) clue - 3 : 1 0 8 ( two numbers are correct but not placed at its correct position . ) clue - 4 : 9 2 6 ( one number is correct but not placed at its correct position . ) clue - 5 : 6 7 8 ( one number is correct but not placed at its correct position . )
0 7 9 : 9 is placed correctly * 0 3 2 : none of the numbers is in the code * 1 0 8 : 1 and 8 are correct number of code but placed at wrong position * 9 2 6 : number 9 is there but placed at wrong position * 6 7 8 : number 8 is there but placed at wrong position correct answer is a ) 819
add(add(multiply(8, const_100), multiply(1, const_10)), 9)