Sum multiples of 3 and 5: Difference between revisions

→‎{{header|BASIC}}: direct conversation to discussion tab
m (typo in suggestion)
(→‎{{header|BASIC}}: direct conversation to discussion tab)
Line 3:
== {{header|BASIC}} ==
{{works with|FreeBASIC}}
{{incorrect||(Or if the function is right, then the task description should say 'count of positive multiples of 3 or 5 no greater than a given number.' or some such...see discussion tab above.)}}
<br>I'd suggest to change s += 1 to s += i
<br>REXX also finds 467 numbers
Line 20:
End</lang>
{{out}}
46746
 
=={{header|Perl 6}}==
Anonymous user