Sha256: 3419e66401b20c84ee7d96992057e778377efca40cc31f098f076c80dc1ee825

Contents?: true

Size: 321 Bytes

Versions: 10

Compression:

Stored size: 321 Bytes

Contents

{{trans|REXX}}
/* NetRexx */

options replace format comments java crossref symbols binary

say "enter 2 integer values separated by blanks"
parse ask a b
say a "+" b "=" a + b
say a "-" b "=" a - b
say a "*" b "=" a * b
say a "/" b "=" a % b "remaining" a // b "(sign from first operand)"
say a "^" b "=" a ** b

return

Version data entries

10 entries across 7 versions & 1 rubygems

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