Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
11
Task/Arithmetic-Integer/Quackery/arithmetic-integer.quackery
Normal file
11
Task/Arithmetic-Integer/Quackery/arithmetic-integer.quackery
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
$ "Please enter two integers separated by a space. "
|
||||
input quackery
|
||||
2dup say "Their sum is: " + echo cr
|
||||
2dup say "Their difference is: " - echo cr
|
||||
2dup say "Their product is: " " * echo cr
|
||||
2dup say "Their integer quotient is: " / echo cr
|
||||
2dup say "Their remainder is: " mod echo cr
|
||||
say "Their exponentiation is: " ** echo cr
|
||||
cr
|
||||
say "Quotient rounds towards negative infinity." cr
|
||||
say "Remainder matches the sign of the second argument."
|
||||
Loading…
Add table
Add a link
Reference in a new issue