Happy numbers: Difference between revisions
→{{header|ALGOL W}}: tweak comments
(→{{header|ALGOL W}}: another tweak) |
(→{{header|ALGOL W}}: tweak comments) |
||
Line 474:
begin
% in base ten, numbers either reach 1 or loop around a sequence %
% containing 4 (see the Wikipedia article)
integer v, dSum, d;
v := abs n;
|