Answer
144
Work Step by Step
The number of ways in which a series of successive things can occur is found by multiplying the number of ways in which each thing can occur.
---------
Ways of choosing the
1st digit ... 8,
2nd digit ... 2,
3rd digit ... 9
Total codes possible (applying the Principle):
$8\times 2\times 9=144$