17 lines
366 B
Text
17 lines
366 B
Text
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
|