Sha256: eff9697c6bfe46983cf7400c4c0b89fc82dc7f24acd905e420845c2a9027db9f
Contents?: true
Size: 389 Bytes
Versions: 10
Compression:
Stored size: 389 Bytes
Contents
class BasicIntegerArithmetic { public static function main() { var args =Sys.args(); if (args.length < 2) return; var a = Std.parseFloat(args[0]); var b = Std.parseFloat(args[1]); trace("a+b = " + (a+b)); trace("a-b = " + (a-b)); trace("a*b = " + (a*b)); trace("a/b = " + (a/b)); trace("a%b = " + (a%b)); } }
Version data entries
10 entries across 7 versions & 1 rubygems