Sum multiples of 3 and 5: Difference between revisions

implementational consensus to bring out of draft; also added stretch goal
(→‎{{header|BASIC}}: fix to correspond to current task)
(implementational consensus to bring out of draft; also added stretch goal)
Line 1:
{{draft task}}The objective is to write a function that finds the sum of all positive multiples of 3 or 5 below ''n''. Show output for ''n'' = 1000.
 
Extra credit: do this efficiently for ''n'' = 1e20 or higher.
 
== {{header|BASIC}} ==
Anonymous user