24 game/Solve: Difference between revisions

m
No edit summary
m (→‎{{header|Wren}}: Minor tidy)
 
(6 intermediate revisions by 2 users not shown)
Line 4,146:
 
=={{header|FutureBasic}}==
This programme gives just the first-found (simplest) solution. To see the exhaustive list, we would remove the <syntaxhighlight lang="futurebasic>'''if k > 0 then exit fn</syntaxhighlight>''' statements.
<syntaxhighlight lang="futurebasic>
 
Line 4,204:
 
</syntaxhighlight>
{{out}}
 
[[File:FB 24.jpg]]
 
 
=={{header|GAP}}==
Line 9,358 ⟶ 9,359:
{{trans|Kotlin}}
{{libheader|Wren-dynamic}}
<syntaxhighlight lang="ecmascriptwren">import "random" for Random
import "./dynamic" for Tuple, Enum, Struct
 
var N_CARDS = 4
9,476

edits