Sha256: c6298f870f36429eeb8bc5c012098932195464ce54d2c762f1ce7c0d316c4b6f
Contents?: true
Size: 611 Bytes
Versions: 10
Compression:
Stored size: 611 Bytes
Contents
Note that raising to a power can display very large integers without going to approximate power-of-ten notation. input "Enter the first integer: "; first input "Enter the second integer: "; second print "The sum is " ; first + second print "The difference is " ; first -second print "The product is " ; first *second if second <>0 then print "The integer quotient is " ; int( first /second); " (rounds towards 0)" else print "Division by zero not allowed." print "The remainder is " ; first MOD second; " (sign matches first operand)" print "The first raised to the power of the second is " ; first ^second
Version data entries
10 entries across 7 versions & 1 rubygems