Sha256: 89e0c4aea2cbd6204d3d002eb0ff87588cb6c801ab8e71b64be8de22a920e89b
Contents?: true
Size: 285 Bytes
Versions: 10
Compression:
Stored size: 285 Bytes
Contents
x = y = 0; read, x, y; write, "x + y =", x + y; write, "x - y =", x - y; write, "x * y =", x * y; write, "x / y =", x / y; // rounds toward zero write, "x % y =", x % y; // remainder; matches sign of first operand when operands' signs differ write, "x ^ y =", x ^ y; // exponentiation
Version data entries
10 entries across 7 versions & 1 rubygems