24 game/Solve: Difference between revisions

Added a sample output in ProDOS
(→‎{{header|Go}}: library path update)
(Added a sample output in ProDOS)
Line 2,051:
stoptask
goto :b</lang>
 
Sample Output:
<lang ProDOS>These are your four digits: 1 4 5 2
Use an algorithm to make the number 24.
Algorithm: 4 + 2 - 5 + 1
Your algorithm did not work.
Do you want to play again? y
 
These are your four digits: 1 8 9 6
Use an algorithm to make the number 24.
Algorithm: 1 + 8 + 9 + 6
Your algorithm worked!
Do you want to play again? n</lang>
 
=={{header|Prolog}}==
Anonymous user