RosettaCodeData/Task/Arithmetic-Integer/Robotic/arithmetic-integer.robotic

12 lines
266 B
Plaintext

input string "Enter number 1:"
set "a" to "input"
input string "Enter number 2:"
set "b" to "input"
[ "Sum: ('a' + 'b')"
[ "Difference: ('a' - 'b')"
[ "Product: ('a' * 'b')"
[ "Integer Quotient: ('a' / 'b')"
[ "Remainder: ('a' % 'b')"
[ "Exponentiation: ('a'^'b')"