Handbook
Glossary
end-game ( array -- )
Vocabulary
24-game
Inputs
array
an
object
Outputs
None
Definition
USING:
formatting
io
kernel
sequences
;
IN:
24-game
:
end-game
( array -- )
first
dup
24
=
[
drop
"You WON!"
]
[
"%d is not 24... You lose."
sprintf
]
if
print
;