RosettaCodeData/Task/Arithmetic-Integer/APL/arithmetic-integer.apl

5 lines
158 B
APL
Raw Permalink Normal View History

2018-06-22 20:57:24 +00:00
res integer_arithmetic; l; r
l
r
res 6 2 'sum' (l+r) 'diff' (l-r) 'prod' (l×r) 'quot' (l÷r) 'rem' (r|l) 'pow' (l*r)