Sum multiples of 3 and 5: Difference between revisions

Line 3:
== {{header|BASIC}} ==
{{works with|FreeBASIC}}
{{incorrect||(Or if the function is right, the output is wrong.)}}
<lang basic>
<lang basic>Declare function mulsum35(n as integer) as integer
Function mulsum35(n as integer) as integer
Dim s as integer
Line 16:
Print mulsum35(1000)
Sleep
End</lang>
{{out}}
</lang>
=== Output ===
467
=={{header|Perl 6}}==
Anonymous user