53.2k views
1 vote
Most ATM’s require a 4-digit code using the digits 0-9 how many 4-digit codes can you use

1 Answer

1 vote

10000 digits can be used for 4 digit A.T.M code.

Solution:

Given that A.T.M required 4 digit codes using the digits 0 to 9.

Need to determine how many four digit code can be used.

We are assuming that number starting with 0 are also valid ATM codes that means 0789 , 0089 , 0006 and 0000 are also valid A.T.M codes.

Now we have four places to be filled by 0 to 9 that is 10 numbers

Also need to keep in mind that repetition is allowed in this case means if 9 is selected at thousands place than also it is available for hundreds, ones or tens place .

First digit can be selected in 10 ways that is from 0 to 9.

After selecting first digit, second digit can be selected in 10 ways that is 0 to 9 and same holds true for third and fourth digit.

So number of ways in which four digit number is created = 10 x 10 x 10 x 10 = 10000 ways

Hence 10000 digits can be used for 4 digit A.T.M code.

User Ardenit
by
8.4k points