Next highest int from digits: Difference between revisions

Content added Content deleted
m (→‎{{header|REXX}}: changed whitespace, made a function more autonomous.)
m (added hightlighting for "N", indented the split (long) line.)
Line 8: Line 8:
*   If there is no next highest integer return zero.
*   If there is no next highest integer return zero.



<br><sup>*1</sup> &nbsp; Alternatively phrased as: "Find the smallest integer larger than the (positive or zero) integer N which can be obtained by reordering the (base 10) digits of N".
:<sup>*1</sup> &nbsp; Alternatively phrased as: &nbsp; "Find the smallest integer larger than the (positive or zero) integer &nbsp; '''N'''
:: which can be obtained by reordering the (base ten) digits of &nbsp; '''N'''".