Sha256: 399341666c61b74b8d7b949d8a1d3dde72587c2b2fbd246f3767fe343be34fa5

Contents?: true

Size: 250 Bytes

Versions: 10

Compression:

Stored size: 250 Bytes

Contents

a: to :integer input "give me the first number  : "
b: to :integer input "give me the second number : "

print [a "+" b "=" a+b]
print [a "-" b "=" a-b]
print [a "*" b "=" a*b]
print [a "/" b "=" a/b]
print [a "%" b "=" a%b]
print [a "^" b "=" a^b]

Version data entries

10 entries across 7 versions & 1 rubygems

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