Arithmetic/Integer: Difference between revisions

m
→‎{{header|Liberty BASIC}}: corrected spelling error
m (→‎{{header|REXX}}: clarified what the user entered from the command line. -- ~~~~)
m (→‎{{header|Liberty BASIC}}: corrected spelling error)
Line 1,045:
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 unallowednot 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
Anonymous user