If a 4 digit pin number has 10 numbers
i.e. 1 2 3 4 5 6 78 9 0
of the possible pin numbers

b) have all 4 digits different
c) have at least 2 digits the same
with workings and solutions please