The available digits are 0, 1, 2,...., 9. The first digit can be chosen in 9 ways (0 not acceptable), the second digit can be accepted in 9 ways (digit repetition not allowed). Thus, the code can be made in 9 x 9 = 81 ways.
Now, there are only 4 digits which can create confusion 1, 6, 8, 9. The same can be given in the following ways
Total number of ways confusion can arise
= 4 x 3 = 12
Thus, the ways in which no such confusion arise = 81-12 =69