Arithmetic/Integer: Difference between revisions

→‎{{header|J}}: Compared bia with calc.
(→‎{{header|J}}: Added explanatory text to output, by request. Disadvantage: Output is no longer numeric.)
(→‎{{header|J}}: Compared bia with calc.)
Line 136:
combine =: [ ,. ":@|:@,:@]
title =: >;.2 'Sum: Difference: Product: Quotient: Remainder: '
Note that the verb<tt> calc </tt> produces all the output specified for this problem, and that its output is of numeric type. Since other examples here provide textual output,<tt> bia </tt>produces like results.
 
=={{header|Java}}==
Anonymous user