Sha256: 50ada3ccffcec62e90caa11044e0e393a1f016b744d075d4b41966ae4017366e
Contents?: true
Size: 313 Bytes
Versions: 10
Compression:
Stored size: 313 Bytes
Contents
{{trans|Python}} print "Number 1: " x = int(input()) print "Number 2: " y = int(input()) println format("Sum: %d", x + y) println format("Difference: %d", x - y) println format("Product: %d", x * y) println format("Quotient: %f", x / y) println format("Remainder: %d", x % y) println format("Power: %d", x ^ y)
Version data entries
10 entries across 7 versions & 1 rubygems