Sha256: b05208d878e1f82ea11ce05b3bea5902aae7467d2b93d60575e6821cc86b1a68

Contents?: true

Size: 230 Bytes

Versions: 10

Compression:

Stored size: 230 Bytes

Contents

var a = 0
var b = 0
stdin -> a    // read int from stdin
stdin -> b    // read int from stdin

println ("a+b=" + (a + b))
println ("a-b=" + (a - b))
println ("a*b=" + (a * b))
println ("a/b=" + (a / b))
println ("a%b=" + (a % b))

Version data entries

10 entries across 7 versions & 1 rubygems

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