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. |
||
:<sup>*1</sup> Alternatively phrased as: "Find the smallest integer larger than the (positive or zero) integer '''N''' |
|||
:: which can be obtained by reordering the (base ten) digits of '''N'''". |
|||