RosettaCodeData/Task/Arithmetic-Integer/NetRexx/arithmetic-integer.netrexx

14 lines
306 B
Text
Raw Permalink Normal View History

2013-04-10 22:43:41 -07:00
/* NetRexx */
2015-11-18 06:14:39 +00:00
options replace format comments java crossref symbols binary
2013-04-10 22:43:41 -07:00
say "enter 2 integer values separated by blanks"
parse ask a b
say a "+" b "=" a + b
say a "-" b "=" a - b
say a "*" b "=" a * b
say a "/" b "=" a % b "remaining" a // b "(sign from first operand)"
say a "^" b "=" a ** b
return