Arithmetic/Integer: Difference between revisions

m
(→‎{{header|J}}: Compared bia with calc.)
Line 133:
=={{header|J}}==
bia =: title"_ combine calc
calc =: + , - , * , <.@% , |
combine =: [ ,. ":@|:@,:@]
title =: >;.2 'Sum: Difference: Product: Quotient: Remainder: '
Note that the verb<tt> calc </tt> produces all the outputprocessing 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