If each of the 10 digits is chosen at random, how many ways can you choose the following numbers?

A)A two-digit code number repeated digits permitted

B)A Three digit identification card number, for which the first digit cannot be a 0.

If can answer at least one that would be great and thanks.