Sum multiples of 3 and 5: Difference between revisions

Line 1,739:
 
</lang>
{{Out}}
<pre>
The sum of the multiples of 3 or 5 < 1000 is 233168
For 10^20 - 1, the sum is 2333333333333333333316666666666666666668
</pre>
 
=={{header|Java}}==
357

edits