RosettaCodeData/Task/Arithmetic-Integer/Dyalect/arithmetic-integer.dyalect

9 lines
161 B
Text
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
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)")