Sum multiples of 3 and 5: Difference between revisions
Content deleted Content added
→{{header|BASIC}}: incorrect |
|||
Line 3:
== {{header|BASIC}} ==
{{works with|FreeBASIC}}
{{incorrect||(Or if the function is right, the output is wrong.)}}
<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}}
467
=={{header|Perl 6}}==
|