Sum multiples of 3 and 5: Difference between revisions
→{{header|REXX}}: changed to below :-) thanks
(→{{header|BASIC}}: direct conversation to discussion tab) |
Walterpachl (talk | contribs) (→{{header|REXX}}: changed to below :-) thanks) |
||
Line 37:
mul35:
s=0
Do i=1 To
If i//3=0 | i//5=0 Then
s=s+i
Line 43:
Return s</lang>
Output:
<pre>
|