Jump to content

Hailstone sequence: Difference between revisions

m
→‎{{header|PL/I}}: Scrolled long output, removed incorrect flag
m (→‎{{header|PL/I}}: Scrolled long output, removed incorrect flag)
Line 289:
 
=={{header|PL/I}}==
{{incorrect|PL/I|Only the first part of the task is attempted.
 
-- I know that. It was too long to do all at once online.
-- More added. --
}}
<lang PL/I>
test: proc options (main);
Line 335 ⟶ 331:
</lang>
Output:
<pre style="height:30ex;overflow:scroll">
<lang>
The sequence for 27 is
27
Line 451 ⟶ 447:
The hailstone sequence has length 112
77031 has the longest sequence of 351
</langpre>
 
=={{header|PureBasic}}==
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.