10000 digits can be used for 4 digit A.T.M code.
<u>Solution:</u>
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.