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

12 lines
266 B
Text
Raw Permalink Normal View History

2019-09-12 10:33:56 -07:00
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')"