Arithmetic/Integer: Difference between revisions

Content added Content deleted
(Added COBOL example)
m (→‎{{header|COBOL}}: Changed 'operand' to 'argument'.)
Line 489: Line 489:
DISPLAY "A ^ B = " Result
DISPLAY "A ^ B = " Result
* *> Matches sign of first operand
* *> Matches sign of first argument.
DISPLAY "A % B = " FUNCTION REM(A, B)
DISPLAY "A % B = " FUNCTION REM(A, B)