Sha256: fa48deeb41089073c6f7e7f19e924300833f7bf711f089919a33e285ce0bded9

Contents?: true

Size: 274 Bytes

Versions: 10

Compression:

Stored size: 274 Bytes

Contents

$ inquire a "Enter first number"
$ a = f$integer( a )
$ inquire b "Enter second number"
$ b = f$integer( b )
$ write sys$output "a + b = ", a + b
$ write sys$output "a - b = ", a - b
$ write sys$output "a * b = ", a * b
$ write sys$output "a / b = ", a / b  ! truncates down

Version data entries

10 entries across 7 versions & 1 rubygems

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