Sum multiples of 3 and 5: Difference between revisions

→‎{{header|REXX}}: changed to below :-) thanks
(→‎{{header|BASIC}}: direct conversation to discussion tab)
(→‎{{header|REXX}}: changed to below :-) thanks)
Line 37:
mul35:
s=0
Do i=1 To 1000999
If i//3=0 | i//5=0 Then
s=s+i
Line 43:
Return s</lang>
Output:
<pre>234168233168</pre>
2,294

edits