Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
9
Task/Integer-comparison/Toka/integer-comparison.toka
Normal file
9
Task/Integer-comparison/Toka/integer-comparison.toka
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
[ ( a b -- )
|
||||
2dup < [ ." a is less than b\n" ] ifTrue
|
||||
2dup > [ ." a is greater than b\n" ] ifTrue
|
||||
= [ ." a is equal to b\n" ] ifTrue
|
||||
] is compare-integers
|
||||
|
||||
1 1 compare-integers
|
||||
2 1 compare-integers
|
||||
1 2 compare-integers
|
||||
Loading…
Add table
Add a link
Reference in a new issue