Sha256: 38ed4bbebdde45c4cee18e956ffa7f31af0eeb6f1d0657e3ddb596199e0d6052

Contents?: true

Size: 223 Bytes

Versions: 10

Compression:

Stored size: 223 Bytes

Contents

{{trans|Swift}}

Dyalect has no operator for exponential.

let a = 6 
let b = 4
 
print("sum = \(a+b)")
print("difference = \(a-b)")
print("product = \(a*b)")
print("Integer quotient = \(a/b)")
print("Remainder = \(a%b)")

Version data entries

10 entries across 7 versions & 1 rubygems

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