Sha256: 7df35be14ac86fac3005ffb0cb7f05427752f8341b5b2ace05e82dfac05d5b10
Contents?: true
Size: 374 Bytes
Versions: 10
Compression:
Stored size: 374 Bytes
Contents
var a := StrToInt(ParamStr(0)); var b := StrToInt(ParamStr(1)); PrintLn(Format('%d + %d = %d', [a, b, a + b])); PrintLn(Format('%d - %d = %d', [a, b, a - b])); PrintLn(Format('%d * %d = %d', [a, b, a * b])); PrintLn(Format('%d / %d = %d', [a, b, a div b])); PrintLn(Format('%d mod %d = %d', [a, b, a mod b])); PrintLn(Format('%d ^ %d = %d', [a, b, Trunc(Power(a, b))]));
Version data entries
10 entries across 7 versions & 1 rubygems