Anonymous user
Happy numbers: Difference between revisions
no edit summary
m (→{{header|PureBasic}}: Added boolean constant definitions to make the code cross-platform) |
No edit summary |
||
Line 1,175:
=={{header|Liberty BASIC}}==
<lang lb>
ct = 0
Line 1,206 ⟶ 1,204:
HappyN = HappyN(sqrInts, sqrInts$)
END FUNCTION</lang>
Output:-
<pre>1 1
2 7
3 10
4 13
5 19
6 23
7 28
8 31
</pre>
=={{header|Lua}}==
|