laziness, impatience, and hubris | |
PerlMonks |
Re: Finding sum of all digits from 1 to 1 million.by pvaldes (Chaplain) |
on Jan 30, 2013 at 18:55 UTC ( [id://1016136]=note: print w/replies, xml ) | Need Help?? |
find the sum of all decimal digits appearing in the natural numbers from one to one million inclusive mhhh, I don't get it ... the answer is?: integers don't have decimals Updated: Forget this, I was not understanding the question, obviously...
In Section
Seekers of Perl Wisdom
|
|