How many different positive integers exist between 10^6 and 10^7, the sum of whose digits is equal to 2? Pick one
A) 5  B) 6  C) 7  D) 8  E) 18
Total cases =&gt; 1000000=&gt; 6 cases for 1 being present at any of the 6 zero   and last case 2000000   hence &amp; cases   ANSWER:7
<result>C</result>
How many different positive integers exist between 10^6 and 10^7, the sum of whose digits is equal to 2?