How many 5 digit numbers can be formed such that it has the following properties:
a)It has at least one zero and atmost three zeros.
b)The non zero digits are not repeated.
we have to find out for 3 cases
Case1: exactly 1 zero
Case2: exactly 2 zero
Case3: exactly 3 zero
what i dont seem to understand is the way the total number of such numbers is calculated.
take Case1:
step1) the first number (ten thousand's position) of the five digits can be placed in 9 ways (any number from 1 to 9)
step2) the second number(thousand's position) can be any number from 0 to 9 (except the one that has been putin the step1.) : total 9 ways
step3) the third number (hundreds position) 8 ways
step4) 7 ways
step 5) 6 ways
but where are we considering the 1 zero thats there in the number.
i m confused