Sha256: 4fa36acba718aa5eedbd06bc0ac074d3f7a0ed94a06a700c2581f80a0a7a8e07

Contents?: true

Size: 310 Bytes

Versions: 10

Compression:

Stored size: 310 Bytes

Contents

Method "arithmetic demo_,_" is 
[
    a : integer,
    b : integer
|
    Print: “a + b”;
    Print: “a - b”;
    Print: “a × b”; // or a * b
    Print: “a ÷ b”; // or a / b, rounds toward negative infinity
    Print: “a mod b”; // sign matches second argument
    Print: “a ^ b”;
];

Version data entries

10 entries across 7 versions & 1 rubygems

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