Jump to content

Happy numbers: Difference between revisions

m
Line 651:
 
=={{header|PureBasic}}==
{{works with|PureBasic|4.41}}
 
When compiled for Windows x86, this code is only 5.5 kB.
 
<lang PureBasic>#ToFind=8
#MaxTests=100
Line 664 ⟶ 668:
i+1
Until Happy>=#ToFind
;
Print(#CRLF$+#CRLF$+"Press ENTER to exit"): Input()
CloseConsole()
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.