Largest int from concatenated ints: Difference between revisions
Content deleted Content added
→{{header|Prolog}}: Output? |
|||
Line 701: | Line 701: | ||
=={{header|Prolog}}== |
=={{header|Prolog}}== |
||
{{output?|Prolog}} |
|||
Works with SWI-Prolog 6.5.3. Try all permutations method. |
Works with SWI-Prolog 6.5.3. Try all permutations method. |
||
<lang Prolog>largest_int(In, Out) :- |
<lang Prolog>largest_int(In, Out) :- |