Data update
This commit is contained in:
parent
4bb20c9b71
commit
cbaf4c4b64
12390 changed files with 318560 additions and 27248 deletions
17
Task/Arithmetic-Integer/LOLCODE/arithmetic-integer.lol
Normal file
17
Task/Arithmetic-Integer/LOLCODE/arithmetic-integer.lol
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
HAI 1.3
|
||||
|
||||
I HAS A X
|
||||
I HAS A Y
|
||||
|
||||
VISIBLE "Enter an integer: "!
|
||||
GIMMEH X
|
||||
VISIBLE "Enter another integer: "!
|
||||
GIMMEH Y
|
||||
|
||||
VISIBLE "sum: " SUM OF X AN Y
|
||||
VISIBLE "difference: " DIFF OF X AN Y
|
||||
VISIBLE "product: " PRODUKT OF X AN Y
|
||||
VISIBLE "quotient: " QUOSHUNT OF X AN Y BTW rounds toward zero
|
||||
VISIBLE "remainder: " MOD OF X AN Y BTW same sign as first argument
|
||||
|
||||
KTHXBYE
|
||||
Loading…
Add table
Add a link
Reference in a new issue