Perfect numbers: Difference between revisions
m
→{{header|Craft Basic}}
Basicgames (talk | contribs) |
Basicgames (talk | contribs) |
||
Line 1,017:
==={{header|Craft Basic}}===
<syntaxhighlight lang="basic">
let s = 0
Line 1,035 ⟶ 1,033:
if s = n then
print n, "
endif
Line 1,042 ⟶ 1,040:
next n</syntaxhighlight>
{{out| Output}}<pre>6 28 496 8128 </pre>
==={{header|IS-BASIC}}===
|