Sha256: c40a81fbd4b6efaf7ebbda9993382552e36a2d57e1fe8089dc808331b637b861

Contents?: true

Size: 235 Bytes

Versions: 10

Compression:

Stored size: 235 Bytes

Contents

x = getKBValue prompt:"First number"
y = getKBValue prompt:"Second number:"

format "Sum: %\n" (x + y) 
format "Difference: %\n" (x - y) 
format "Product: %\n" (x * y) 
format "Quotient: %\n" (x / y) 
format "Remainder: %\n" (mod x y)

Version data entries

10 entries across 7 versions & 1 rubygems

Version Path
zettacode-0.1.7 files.zettacode/arithmetic.integer/maxscript.txt
zettacode-0.1.6 files.zettacode/arithmetic.integer/maxscript.txt
zettacode-0.1.6 files.zettacode2/arithmetic.integer/maxscript.txt
zettacode-0.1.5 files.zettacode/arithmetic.integer/maxscript.txt
zettacode-0.1.5 files.zettacode2/arithmetic.integer/maxscript.txt
zettacode-0.1.4 files.zettacode/arithmetic.integer/maxscript.txt
zettacode-0.1.4 files.zettacode2/arithmetic.integer/maxscript.txt
zettacode-0.1.3 files.zettacode/arithmetic.integer/maxscript.txt
zettacode-0.1.2 files.zettacode/arithmetic.integer/maxscript.txt
zettacode-0.1.1 zettacode.files/arithmetic.integer/maxscript.txt