Question: how many combinations are there for a 5 digit code?
Answer: Assuming no five-digit number can begin with zero, there are 9 possible choices for the first digit. Then there are 10 possible choices for each of the remaining four digits. Therefore, you have 9 x 10 x 10 x 10 x 10 combinations, or 9 x 10^4, which is 90,000 different combinations.