how many 6 digits numbers have all their digits either all odd or all even?
Select the correct option:
A) 27125  B) 28125  C) 29125  D) 26125  E) 25125
With all even digits=4*5^5 (Even digits-&gt;0,2,4,6,8)   2 _ _ _ _ _ | 4 _ _ _ _ _ | 6 _ _ _ _ _ | 8 _ _ _ _ _ (the gaps can be filled by any of the no.s 0,2,4,6,8)   with all odd digitd=5*5^5   1 _ _ _ _ _| 3 _ _ _ _ _| 5 _ _ _ _ _| 7 _ _ _ _ _ |9 _ _ _ _ _ (The gaps can be filled with any of 1,3,5,7,9)   So, total number of 6digit no. with all digits odd or all even is:   (4*5^5)+(5*5^5)=12500+15625= 
<gadget id="calculator">12500+15625</gadget>
<output>28_125</output>
28125   ANSWER:28125
<result>B</result>
how many 6 digits numbers have all their digits either all odd or all even?